# CustomerOrderPaymentInfo

class CustomerOrderPaymentInfo extends DataModel

Additional payment info for direct debit / banktransfer or payment by credit card.

## Properties

protected array | $fields |  | from DataModel
protected boolean | $isEncrypted |  | from DataModel
protected Identity | $customerOrderId |  |
protected Identity | $id |  |
protected string | $accountHolder |  |
protected string | $accountNumber |  |
protected string | $bankCode |  |
protected string | $bankName |  |
protected string | $bic |  |
protected string | $creditCardExpiration |  |
protected string | $creditCardHolder |  |
protected string | $creditCardNumber |  |
protected string | $creditCardType |  |
protected string | $creditCardVerificationNumber |  |
protected string | $iban |  |

## Methods

__construct()

Constructor

multitype:
getProperties()

Get the Model Properties

from Model
Model
setOptions(stdClass $object = null, array $options = null)

Sets Properties with matching Array Values

from DataModel
stdClass
getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))

Convert the Model into stdClass Object

from DataModel
toJson()

No description

from Model
mixed:string
getFields()

Fields Getter

from DataModel
validate()

Object Validation

from DataModel
mixed:string|NULL
getField(boolean $toWawi = false, string $key)

Get a Model Member Name

from DataModel
map(boolean $toWawi = false, stdClass $obj = null)

Object Mapping

from DataModel
DataType
getModelType()

No description

from DataModel
boolean
isEncrypted()

Encrypted Status

from DataModel
setIdentity(string $propertyName, string|null $endpoint = null, int|null $host = null)

No description

from DataModel
setProperty($name, $value, $type)

No description

from DataModel
validateType($value, $type)

No description

from DataModel
CustomerOrderPaymentInfo
setCustomerOrderId(Identity $customerOrderId)

No description

Identity
getCustomerOrderId()

No description

CustomerOrderPaymentInfo
setId(Identity $id)

No description

Identity
getId()

No description

CustomerOrderPaymentInfo
setAccountHolder(string $accountHolder)

No description

string
getAccountHolder()

No description

CustomerOrderPaymentInfo
setAccountNumber(string $accountNumber)

No description

string
getAccountNumber()

No description

CustomerOrderPaymentInfo
setBankCode(string $bankCode)

No description

string
getBankCode()

No description

CustomerOrderPaymentInfo
setBankName(string $bankName)

No description

string
getBankName()

No description

CustomerOrderPaymentInfo
setBic(string $bic)

No description

string
getBic()

No description

CustomerOrderPaymentInfo
setCreditCardExpiration(string $creditCardExpiration)

No description

string
getCreditCardExpiration()

No description

CustomerOrderPaymentInfo
setCreditCardHolder(string $creditCardHolder)

No description

string
getCreditCardHolder()

No description

CustomerOrderPaymentInfo
setCreditCardNumber(string $creditCardNumber)

No description

string
getCreditCardNumber()

No description

CustomerOrderPaymentInfo
setCreditCardType(string $creditCardType)

No description

string
getCreditCardType()

No description

CustomerOrderPaymentInfo
setCreditCardVerificationNumber(string $creditCardVerificationNumber)

No description

string
getCreditCardVerificationNumber()

No description

CustomerOrderPaymentInfo
setIban(string $iban)

No description

string
getIban()

No description

## Details

###
at line 131
`__construct()`

Constructor

###
in Model at line 33
`multitype: getProperties()`

Get the Model Properties

#### Return Value

multitype: | string

###
in DataModel at line 172
`Model setOptions(stdClass $object = null, array $options = null)`

Sets Properties with matching Array Values

#### Parameters

stdClass | $object |
array | $options |

#### Return Value

Model |

###
in DataModel at line 70
`stdClass getPublic(array $publics = array('fields', 'isEncrypted', 'identities', '_type'))`

Convert the Model into stdClass Object

#### Parameters

array | $publics |

#### Return Value

stdClass | $object

###
in Model at line 115
`toJson()`

###
in DataModel at line 35
`mixed:string getFields()`

Fields Getter

#### Return Value

mixed:string |

###
in DataModel at line 45
`validate()`

Object Validation

#### Exceptions

SchemaException |

###
in DataModel at line 59
`mixed:string|NULL getField(boolean $toWawi = false, string $key)`

Get a Model Member Name

#### Parameters

boolean | $toWawi |
string | $key |

#### Return Value

mixed:string|NULL |

###
in DataModel at line 81
`map(boolean $toWawi = false, stdClass $obj = null)`

Object Mapping

#### Parameters

boolean | $toWawi |
stdClass | $obj | Object to map

###
in DataModel at line 42
`DataType getModelType()`

#### Return Value

DataType |

###
in DataModel at line 59
`boolean isEncrypted()`

Encrypted Status

#### Return Value

boolean |

###
in DataModel at line 123
`setIdentity(string $propertyName, string|null $endpoint = null, int|null $host = null)`

#### Parameters

string | $propertyName |
string|null | $endpoint |
int|null | $host |

###
in DataModel at line 179
`protected setProperty($name, $value, $type)`

#### Parameters

| $name |
| $value |
| $type |

###
in DataModel at line 190
`protected validateType($value, $type)`

#### Parameters

| $value |
| $type |

###
at line 142
`CustomerOrderPaymentInfo setCustomerOrderId(Identity $customerOrderId)`

#### Parameters

Identity | $customerOrderId | Reference to customerOrder

#### Return Value

CustomerOrderPaymentInfo |

#### Exceptions

InvalidArgumentException | if the provided argument is not of type 'Identity'.

###
at line 150
`Identity getCustomerOrderId()`

#### Return Value

Identity | Reference to customerOrder

###
at line 160
`CustomerOrderPaymentInfo setId(Identity $id)`

#### Parameters

Identity | $id | Unique customerOrderPaymentInfo id

#### Return Value

CustomerOrderPaymentInfo |

#### Exceptions

InvalidArgumentException | if the provided argument is not of type 'Identity'.

###
at line 168
`Identity getId()`

#### Return Value

Identity | Unique customerOrderPaymentInfo id

###
at line 177
`CustomerOrderPaymentInfo setAccountHolder(string $accountHolder)`

#### Parameters

string | $accountHolder | Bank account holder name

#### Return Value

CustomerOrderPaymentInfo |

###
at line 185
`string getAccountHolder()`

#### Return Value

string | Bank account holder name

###
at line 194
`CustomerOrderPaymentInfo setAccountNumber(string $accountNumber)`

#### Parameters

string | $accountNumber | Bank account number (deprecated in DE since SEPA)

#### Return Value

CustomerOrderPaymentInfo |

###
at line 202
`string getAccountNumber()`

#### Return Value

string | Bank account number (deprecated in DE since SEPA)

###
at line 211
`CustomerOrderPaymentInfo setBankCode(string $bankCode)`

#### Parameters

string | $bankCode | Bank code (deprecated in DE since SEPA)

#### Return Value

CustomerOrderPaymentInfo |

###
at line 219
`string getBankCode()`

#### Return Value

string | Bank code (deprecated in DE since SEPA)

###
at line 228
`CustomerOrderPaymentInfo setBankName(string $bankName)`

#### Parameters

string | $bankName | Bank name

#### Return Value

CustomerOrderPaymentInfo |

###
at line 236
`string getBankName()`

#### Return Value

string | Bank name

###
at line 245
`CustomerOrderPaymentInfo setBic(string $bic)`

#### Parameters

string | $bic | Bank Identifier Code (BIC)

#### Return Value

CustomerOrderPaymentInfo |

###
at line 253
`string getBic()`

#### Return Value

string | Bank Identifier Code (BIC)

###
at line 262
`CustomerOrderPaymentInfo setCreditCardExpiration(string $creditCardExpiration)`

#### Parameters

string | $creditCardExpiration | Credit card expiration date

#### Return Value

CustomerOrderPaymentInfo |

###
at line 270
`string getCreditCardExpiration()`

#### Return Value

string | Credit card expiration date

###
at line 279
`CustomerOrderPaymentInfo setCreditCardHolder(string $creditCardHolder)`

#### Parameters

string | $creditCardHolder |

#### Return Value

CustomerOrderPaymentInfo |

###
at line 287
`string getCreditCardHolder()`

#### Return Value

string |

###
at line 296
`CustomerOrderPaymentInfo setCreditCardNumber(string $creditCardNumber)`

#### Parameters

string | $creditCardNumber | Credit card number

#### Return Value

CustomerOrderPaymentInfo |

###
at line 304
`string getCreditCardNumber()`

#### Return Value

string | Credit card number

###
at line 313
`CustomerOrderPaymentInfo setCreditCardType(string $creditCardType)`

#### Parameters

string | $creditCardType | Credit card type (e.g. "visa")

#### Return Value

CustomerOrderPaymentInfo |

###
at line 321
`string getCreditCardType()`

#### Return Value

string | Credit card type (e.g. "visa")

###
at line 330
`CustomerOrderPaymentInfo setCreditCardVerificationNumber(string $creditCardVerificationNumber)`

#### Parameters

string | $creditCardVerificationNumber | Credit card verification number

#### Return Value

CustomerOrderPaymentInfo |

###
at line 338
`string getCreditCardVerificationNumber()`

#### Return Value

string | Credit card verification number

###
at line 347
`CustomerOrderPaymentInfo setIban(string $iban)`

#### Parameters

string | $iban | International Bank Account Number (IBAN)

#### Return Value

CustomerOrderPaymentInfo |

###
at line 355
`string getIban()`

#### Return Value

string | International Bank Account Number (IBAN)