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
  • Field Details

  • Constructor Details

    • CreatePaymentIntentRequest

      public CreatePaymentIntentRequest()
  • Method Details

    • acquirerIdentifier

      public CreatePaymentIntentRequest acquirerIdentifier(String acquirerIdentifier)
    • getAcquirerIdentifier

      @Nonnull @NotNull public @NotNull String getAcquirerIdentifier()
      Stripe's acquirer coverage record
      Returns:
      acquirerIdentifier
    • setAcquirerIdentifier

      public void setAcquirerIdentifier(String acquirerIdentifier)
    • affiliateAccountIdentifier

      public CreatePaymentIntentRequest affiliateAccountIdentifier(UUID affiliateAccountIdentifier)
    • getAffiliateAccountIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getAffiliateAccountIdentifier()
      affiliate account making the request
      Returns:
      affiliateAccountIdentifier
    • setAffiliateAccountIdentifier

      public void setAffiliateAccountIdentifier(UUID affiliateAccountIdentifier)
    • 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

      public CreatePaymentIntentRequest displayCurrency(String displayCurrency)
    • getDisplayCurrency

      @Nonnull @NotNull public @NotNull String getDisplayCurrency()
      The desired quote
      Returns:
      displayCurrency
    • setDisplayCurrency

      public void setDisplayCurrency(String displayCurrency)
    • sourceUrl

      public CreatePaymentIntentRequest sourceUrl(String sourceUrl)
    • getSourceUrl

      @Nonnull @NotNull public @NotNull String getSourceUrl()
      Where did the booking occur
      Returns:
      sourceUrl
    • setSourceUrl

      public void setSourceUrl(String sourceUrl)
    • traceId

      public CreatePaymentIntentRequest traceId(String traceId)
    • getTraceId

      @Nonnull @NotNull public @NotNull String getTraceId()
      Integrator can choose to include a unique identifier to help identify the collection of bookings
      Returns:
      traceId
    • setTraceId

      public void setTraceId(String traceId)
    • redirectUrl

      public CreatePaymentIntentRequest redirectUrl(String redirectUrl)
    • getRedirectUrl

      @Nonnull @NotNull public @NotNull String getRedirectUrl()
      Where to redirect to after payment [in-]complete
      Returns:
      redirectUrl
    • setRedirectUrl

      public void setRedirectUrl(String redirectUrl)
    • contract

      public CreatePaymentIntentRequest contract(RawSupplierContract contract)
    • getContract

      @Nonnull @NotNull @Valid public @NotNull @Valid RawSupplierContract getContract()
      Get contract
      Returns:
      contract
    • setContract

      public void setContract(RawSupplierContract contract)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object