Package io.trippay.sdk.payment.model
Class CreateStripeSaleRequest
java.lang.Object
io.trippay.sdk.payment.model.CreateStripeSaleRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-09T10:13:04.222556669+07:00[Asia/Bangkok]")
public class CreateStripeSaleRequest
extends Object
CreateStripeSaleRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of identifier this is -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquirerIdentifier(String acquirerIdentifier) affiliateAccountIdentifier(UUID affiliateAccountIdentifier) affiliateAccountIdentifierType(CreateStripeSaleRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) cardholder(StripeCardholder cardholder) contract(RawSupplierContract contract) displayCurrency(String displayCurrency) boolean@NotNull StringStripe's acquirer coverage record@NotNull @Valid UUIDaffiliate account making the requestType of identifier this is@Valid StripeCardholderGet cardholder@NotNull @Valid RawSupplierContractGet contract@NotNull StringThe desired quote@NotNull StringWhere did the booking occur@NotNull StringVendor, like Stripe, will create a customer identifier to refer to this customer on their end.Reference to payment intent that charged the card.@NotNull StringReference to payment method that was used to pay.Integrator can choose to include a unique identifier to help identify the collection of bookingsinthashCode()voidsetAcquirerIdentifier(String acquirerIdentifier) voidsetAffiliateAccountIdentifier(UUID affiliateAccountIdentifier) voidsetAffiliateAccountIdentifierType(CreateStripeSaleRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) voidsetCardholder(StripeCardholder cardholder) voidsetContract(RawSupplierContract contract) voidsetDisplayCurrency(String displayCurrency) voidsetSourceUrl(String sourceUrl) voidsetStripeCustomerIdentifier(String stripeCustomerIdentifier) voidsetStripePaymentIntentIdentifier(String stripePaymentIntentIdentifier) voidsetStripePaymentMethodIdentifier(String stripePaymentMethodIdentifier) voidsetTraceId(String traceId) stripeCustomerIdentifier(String stripeCustomerIdentifier) stripePaymentIntentIdentifier(String stripePaymentIntentIdentifier) stripePaymentMethodIdentifier(String stripePaymentMethodIdentifier) toString()
-
Field Details
-
JSON_PROPERTY_ACQUIRER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_AFFILIATE_ACCOUNT_IDENTIFIER
- See Also:
-
JSON_PROPERTY_AFFILIATE_ACCOUNT_IDENTIFIER_TYPE
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_SOURCE_URL
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
JSON_PROPERTY_CONTRACT
- See Also:
-
JSON_PROPERTY_CARDHOLDER
- See Also:
-
JSON_PROPERTY_STRIPE_CUSTOMER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_STRIPE_PAYMENT_METHOD_IDENTIFIER
- See Also:
-
JSON_PROPERTY_STRIPE_PAYMENT_INTENT_IDENTIFIER
- See Also:
-
-
Constructor Details
-
CreateStripeSaleRequest
public CreateStripeSaleRequest()
-
-
Method Details
-
acquirerIdentifier
-
getAcquirerIdentifier
Stripe's acquirer coverage record- Returns:
- acquirerIdentifier
-
setAcquirerIdentifier
-
affiliateAccountIdentifier
-
getAffiliateAccountIdentifier
affiliate account making the request- Returns:
- affiliateAccountIdentifier
-
setAffiliateAccountIdentifier
-
affiliateAccountIdentifierType
public CreateStripeSaleRequest affiliateAccountIdentifierType(CreateStripeSaleRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) -
getAffiliateAccountIdentifierType
@Nonnull @NotNull public @NotNull CreateStripeSaleRequest.AffiliateAccountIdentifierTypeEnum getAffiliateAccountIdentifierType()Type of identifier this is- Returns:
- affiliateAccountIdentifierType
-
setAffiliateAccountIdentifierType
public void setAffiliateAccountIdentifierType(CreateStripeSaleRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) -
displayCurrency
-
getDisplayCurrency
The desired quote- Returns:
- displayCurrency
-
setDisplayCurrency
-
sourceUrl
-
getSourceUrl
Where did the booking occur- Returns:
- sourceUrl
-
setSourceUrl
-
traceId
-
getTraceId
Integrator can choose to include a unique identifier to help identify the collection of bookings- Returns:
- traceId
-
setTraceId
-
contract
-
getContract
Get contract- Returns:
- contract
-
setContract
-
cardholder
-
getCardholder
Get cardholder- Returns:
- cardholder
-
setCardholder
-
stripeCustomerIdentifier
-
getStripeCustomerIdentifier
Vendor, like Stripe, will create a customer identifier to refer to this customer on their end.- Returns:
- stripeCustomerIdentifier
-
setStripeCustomerIdentifier
-
stripePaymentMethodIdentifier
-
getStripePaymentMethodIdentifier
Reference to payment method that was used to pay. Can be re-used to make an offline payment.- Returns:
- stripePaymentMethodIdentifier
-
setStripePaymentMethodIdentifier
-
stripePaymentIntentIdentifier
-
getStripePaymentIntentIdentifier
Reference to payment intent that charged the card. If empty, we need to capture the charge. This occurs when existing customer is using an existing payment method.- Returns:
- stripePaymentIntentIdentifier
-
setStripePaymentIntentIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-