The Refund wrapper module.
Members
-
inner audit_info :AuditInfo
-
-
inner comments :String
-
Comments that can be used to recollect the operation performed on the resource object. API clients need to ensure that no sensitive information is passed in the memo. Alacriti (EBPP) is not responsible for the security of any sensitive information that may be passed as part of the memo.
-
inner confirmation_number :String
-
The confirmation number or reference provided to the customer for the refund.
-
inner custom_fields :Object
-
The additional information or meta-information that EBPP can accept, maintain and transmit back to the client. The custom fields need to be configured with EBPP before they can be accepted. EBPP would reject custom fields that are not pre-configured. Please contact <a href = "mailto: support@billerpayments.com">support@billerpayments.com for more information on configuring and using custom fields.
-
inner expected_refund_settlement_date :String
-
The date by which the credits would be posted to the original funding account. ISO8601 full-date format, YYYY-MM-DD
-
inner fee_refund :FeeRefund
-
-
inner id :String
-
The unique identifier assigned by EBPP to the refund.
-
inner ID_CUSTOMER :String
-
The unique identifier assigned by EBPP to the customer.
-
inner ID_PAYMENT :String
-
The unique identifier assigned by EBPP to the payment.
-
inner ID_REFUND :String
-
The unique identifier assigned by EBPP to the refund.
-
inner payment_network_response :PaymentNetworkResponse
-
-
inner refund_amount :String
-
The refund amount upto 2 decimal places.
-
inner refund_date :String
-
The date on which the refund is scheduled to be made. It must be in ISO8601 full-date format, namely, YYYY-MM-DD.
-
inner refund_entry_date :String
-
The date on which the refund captured in EBPP. It must be in ISO8601 full-date format, namely, YYYY-MM-DD.
-
inner refund_reference :String
-
The unique identifier in the client system for the refund.
-
inner refund_type :String
-
The portion of the payment amount that is to be or has been refunded. The original payment can be refunded fully including the amount and the fee components, or partially, for just the amount or the fee component. Refund can also be initiated for an arbitrary amount limited by the original payment amount.
-
inner source_payment :SourcePayment
-
-
inner status :String
-
The status of the refund.
-
inner url :String
-
This URL fetches the details of refund.
Methods
-
static constructFromObject(data, obj) → {module:wrappers/Refund}
-
Constructs a
Refund
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:wrappers/Refund Optional instance to populate.
-
forClient(client_key) → {module:wrappers/Refund}
-
Parameters:
Name Type Description client_key
String The client_key of Refund.
-
forCustomer(ID_CUSTOMER) → {module:wrappers/Refund}
-
Parameters:
Name Type Description ID_CUSTOMER
String The ID_CUSTOMER of Refund.
-
forPayment(ID_PAYMENT) → {module:wrappers/Refund}
-
Parameters:
Name Type Description ID_PAYMENT
String The ID_PAYMENT of Refund.
-
videChannel(channel) → {module:wrappers/Refund}
-
Parameters:
Name Type Description channel
String The channel of Refund.
-
withCustomFields(custom_fields) → {module:wrappers/Refund}
-
Parameters:
Name Type Description custom_fields
Object The custom_fields of Refund.
-
withDetails(refund_amount) → {module:wrappers/Refund}
-
Parameters:
Name Type Description refund_amount
String The refund_amount of Refund.
-
withFeeRefund(fee_refund) → {module:wrappers/Refund}
-
Parameters:
Name Type Description fee_refund
FeeRefund The fee_refund of Refund.
-
withMemo(comments) → {module:wrappers/Refund}
-
Parameters:
Name Type Description comments
String The comments of Refund.
-
withReference(refund_reference) → {module:wrappers/Refund}
-
Parameters:
Name Type Description refund_reference
String The refund_reference of Refund.
-
withStatus(status) → {module:wrappers/Refund}
-
Parameters:
Name Type Description status
String The status of Refund.