Package io.trippay.sdk.payment.model
Class BookingContractPaymentDetails
java.lang.Object
io.trippay.sdk.payment.model.BookingContractPaymentDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-23T12:38:48.722044943+07:00[Asia/Bangkok]")
public class BookingContractPaymentDetails
extends Object
Details of the payment. Payment details will be empty if account type is AGENT
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumUnique transaction id from the vendor upon a successful sale.static enumName of acquiring vendor -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquirerIdentifier(String acquirerIdentifier) addFeesItem(Fee feesItem) agentInvoicedDate(LocalDateTime agentInvoicedDate) agentInvoiceIdentifier(String agentInvoiceIdentifier) chargeIdentifier(String chargeIdentifier) customerIdentifier(String customerIdentifier) boolean@NotNull StringUnique acquiring identifier.The date/time the invoice was generatedThe specific invoice this booking was registered on@NotNull StringUnique charge id from the vendor..@NotNull StringUnique customer id from the vendor.getFees()Get feesWhere to redirect to after payment [in-]completeUnique transaction id from the vendor upon a successful sale.@NotNull StringUnique transaction id from the vendor.Name of acquiring vendorVendor specific values that are returned in a successful responseinthashCode()putVendorSpecificItem(String key, String vendorSpecificItem) redirectUrl(String redirectUrl) voidsetAcquirerIdentifier(String acquirerIdentifier) voidsetAgentInvoicedDate(LocalDateTime agentInvoicedDate) voidsetAgentInvoiceIdentifier(String agentInvoiceIdentifier) voidsetChargeIdentifier(String chargeIdentifier) voidsetCustomerIdentifier(String customerIdentifier) voidvoidsetRedirectUrl(String redirectUrl) voidvoidsetTransactionIdentifier(String transactionIdentifier) voidvoidsetVendorSpecific(Map<String, String> vendorSpecific) toString()transactionIdentifier(String transactionIdentifier) vendorSpecific(Map<String, String> vendorSpecific)
-
Field Details
-
JSON_PROPERTY_ACQUIRER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_VENDOR
- See Also:
-
JSON_PROPERTY_TRANSACTION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_CUSTOMER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_CHARGE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_AGENT_INVOICED_DATE
- See Also:
-
JSON_PROPERTY_AGENT_INVOICE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_REDIRECT_URL
- See Also:
-
JSON_PROPERTY_FEES
- See Also:
-
JSON_PROPERTY_VENDOR_SPECIFIC
- See Also:
-
-
Constructor Details
-
BookingContractPaymentDetails
public BookingContractPaymentDetails()
-
-
Method Details
-
acquirerIdentifier
-
getAcquirerIdentifier
Unique acquiring identifier. Blank for agent payment- Returns:
- acquirerIdentifier
-
setAcquirerIdentifier
-
vendor
-
getVendor
Name of acquiring vendor- Returns:
- vendor
-
setVendor
-
transactionIdentifier
-
getTransactionIdentifier
Unique transaction id from the vendor. Agent adds their transaction identifier.- Returns:
- transactionIdentifier
-
setTransactionIdentifier
-
customerIdentifier
-
getCustomerIdentifier
Unique customer id from the vendor. Agent adds their own customer identifier.- Returns:
- customerIdentifier
-
setCustomerIdentifier
-
chargeIdentifier
-
getChargeIdentifier
Unique charge id from the vendor..- Returns:
- chargeIdentifier
-
setChargeIdentifier
-
status
-
getStatus
Unique transaction id from the vendor upon a successful sale. Agent adds their transaction identifier.- Returns:
- status
-
setStatus
-
agentInvoicedDate
-
getAgentInvoicedDate
The date/time the invoice was generated- Returns:
- agentInvoicedDate
-
setAgentInvoicedDate
-
agentInvoiceIdentifier
-
getAgentInvoiceIdentifier
The specific invoice this booking was registered on- Returns:
- agentInvoiceIdentifier
-
setAgentInvoiceIdentifier
-
redirectUrl
-
getRedirectUrl
Where to redirect to after payment [in-]complete- Returns:
- redirectUrl
-
setRedirectUrl
-
fees
-
addFeesItem
-
getFees
Get fees- Returns:
- fees
-
setFees
-
vendorSpecific
-
putVendorSpecificItem
-
getVendorSpecific
Vendor specific values that are returned in a successful response- Returns:
- vendorSpecific
-
setVendorSpecific
-
equals
-
hashCode
public int hashCode() -
toString
-