Package io.trippay.sdk.payment.model
Class CreatePaymentIntentRequest
java.lang.Object
io.trippay.sdk.payment.model.CreatePaymentIntentRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-24T07:24:28.877872362+07:00[Asia/Bangkok]")
public class CreatePaymentIntentRequest
extends Object
CreatePaymentIntentRequest
-
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(CreatePaymentIntentRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) contract(RawSupplierContract contract) displayCurrency(String displayCurrency) boolean@NotNull StringStripe's acquirer coverage record@NotNull @Valid UUIDaffiliate account making the requestType of identifier this is@NotNull @Valid RawSupplierContractGet contract@NotNull StringThe desired quote@NotNull StringWhere to redirect to after payment [in-]complete@NotNull StringWhere did the booking occur@NotNull StringIntegrator can choose to include a unique identifier to help identify the collection of bookingsinthashCode()redirectUrl(String redirectUrl) voidsetAcquirerIdentifier(String acquirerIdentifier) voidsetAffiliateAccountIdentifier(UUID affiliateAccountIdentifier) voidsetAffiliateAccountIdentifierType(CreatePaymentIntentRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) voidsetContract(RawSupplierContract contract) voidsetDisplayCurrency(String displayCurrency) voidsetRedirectUrl(String redirectUrl) voidsetSourceUrl(String sourceUrl) voidsetTraceId(String traceId) 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_REDIRECT_URL
- See Also:
-
JSON_PROPERTY_CONTRACT
- See Also:
-
-
Constructor Details
-
CreatePaymentIntentRequest
public CreatePaymentIntentRequest()
-
-
Method Details
-
acquirerIdentifier
-
getAcquirerIdentifier
Stripe's acquirer coverage record- Returns:
- acquirerIdentifier
-
setAcquirerIdentifier
-
affiliateAccountIdentifier
-
getAffiliateAccountIdentifier
affiliate account making the request- Returns:
- affiliateAccountIdentifier
-
setAffiliateAccountIdentifier
-
affiliateAccountIdentifierType
public CreatePaymentIntentRequest affiliateAccountIdentifierType(CreatePaymentIntentRequest.AffiliateAccountIdentifierTypeEnum affiliateAccountIdentifierType) -
getAffiliateAccountIdentifierType
@Nonnull @NotNull public @NotNull CreatePaymentIntentRequest.AffiliateAccountIdentifierTypeEnum getAffiliateAccountIdentifierType()Type of identifier this is- Returns:
- affiliateAccountIdentifierType
-
setAffiliateAccountIdentifierType
public void setAffiliateAccountIdentifierType(CreatePaymentIntentRequest.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
-
redirectUrl
-
getRedirectUrl
Where to redirect to after payment [in-]complete- Returns:
- redirectUrl
-
setRedirectUrl
-
contract
-
getContract
Get contract- Returns:
- contract
-
setContract
-
equals
-
hashCode
public int hashCode() -
toString
-