new AdditionalChargeAmount()
Methods
(static) AdditionalChargeAmount#getAmount() → {Number}
Get the field value
Amount of the additional charge
Returns:
must be a long integer
- Type
- Number
(static) AdditionalChargeAmount#getId() → {String}
Get the field value
Additional charge id
Returns:
- Type
- String
(static) AdditionalChargeAmount#getPayment() → {base.Reference}
Get the field value
Reference to the payment the additional charge belongs to
Returns:
- Type
- base.Reference
(static) AdditionalChargeAmount#getRefund() → {base.Reference}
Get the field value
Reference to the payment the additional charge belongs to
Returns:
- Type
- base.Reference
(static) AdditionalChargeAmount#getType() → {payments.AdditionalChargeType}
Get the field value
The type of additional charge
Returns:
(static) AdditionalChargeAmount#setAmount(amount)
Set the field value
Amount of the additional charge
Parameters:
Name | Type | Description |
---|---|---|
amount |
Number | must be a long integer |
(static) AdditionalChargeAmount#setId(id)
Set the field value
Additional charge id
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
(static) AdditionalChargeAmount#setPayment(payment)
Set the field value
Reference to the payment the additional charge belongs to
Parameters:
Name | Type | Description |
---|---|---|
payment |
base.Reference |
(static) AdditionalChargeAmount#setRefund(refund)
Set the field value
Reference to the payment the additional charge belongs to
Parameters:
Name | Type | Description |
---|---|---|
refund |
base.Reference |
(static) AdditionalChargeAmount#setType(type)
Set the field value
The type of additional charge
Parameters:
Name | Type | Description |
---|---|---|
type |
payments.AdditionalChargeType |