new module:models/CreatePaymentRequest(customer, funding_account, customer_account)
This class subject to change without prior notice, Please dont use this class directly.
Constructs a newCreatePaymentRequest
.
Parameters:
Name | Type | Description |
---|---|---|
customer |
module:models/CustomerMinimalRequest | |
funding_account |
module:models/FundingAccountMinimalRequest | |
customer_account |
module:models/CustomerAccountMinimalRequest |
Members
-
static, readonly PaymentAmountTypeEnum :String
-
Allowed values for the
payment_amount_type
property.Properties:
Name Type Description current_balance
String value: "current_balance"
minimum_payment_due
String value: "minimum_payment_due"
past_payment_due
String value: "past_payment_due"
statement_balance
String value: "statement_balance"
discounted_amount
String value: "discounted_amount"
penalty_amount
String value: "penalty_amount"
other
String value: "other"
payoff_amount
String value: "payoff_amount"
paydown_amount
String value: "paydown_amount"
-
inner amount :String
-
The amount being paid.
-
inner card_cvv_number :String
-
-
inner comments :String
-
Comments that can be used to recollect the operation performed on the resource object.
-
inner custom_fields :Object.<String, String>
-
The additional information or meta-information that EBPP can accept, maintain and transmit back to the client.
-
inner customer :module:models/CustomerMinimalRequest
-
-
inner customer_account :module:models/CustomerAccountMinimalRequest
-
-
inner fee :module:models/FeeRequest
-
-
inner funding_account :module:models/FundingAccountMinimalRequest
-
-
inner payment_amount_type :module:models/CreatePaymentRequest.PaymentAmountTypeEnum
-
The type of amount, as per the bill/statement, that is being paid. The payment amount is derived from the amount type selected for the payment. This defaults to other.
-
inner payment_authorization :module:models/PaymentAuthorizationMinimalRequest
-
-
inner payment_date :String
-
The date on which the payment is scheduled to be made. It must be in ISO8601 full-date format, namely, YYYY-MM-DD.
-
inner payment_notification_email :String
-
The email address to which notifications for the payment will be sent.
-
inner payment_reference :String
-
The unique identifier in the client system for the payment. This is mandatory in case of voyager fleet card payment.
-
inner payment_request_date :String
-
The date on which the biller wants the payment to be settled. It must be in ISO8601 full-date format, namely, YYYY-MM-DD.
Methods
-
static constructFromObject(data, obj) → {module:models/CreatePaymentRequest}
-
Constructs a
CreatePaymentRequest
from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties fromdata
toobj
if supplied or a new instance if not.Parameters:
Name Type Description data
Object The plain JavaScript object bearing properties of interest.
obj
module:models/CreatePaymentRequest Optional instance to populate.