Class CreateStripeSaleRequest

java.lang.Object
io.trippay.sdk.payment.model.CreateStripeSaleRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-26T14:25:21.883820559+07:00[Asia/Bangkok]") public class CreateStripeSaleRequest extends Object
CreateStripeSaleRequest
  • Field Details

  • Constructor Details

    • CreateStripeSaleRequest

      public CreateStripeSaleRequest()
  • Method Details

    • acquirerIdentifier

      public CreateStripeSaleRequest 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 CreateStripeSaleRequest 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 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

      public CreateStripeSaleRequest displayCurrency(String displayCurrency)
    • getDisplayCurrency

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

      public void setDisplayCurrency(String displayCurrency)
    • sourceUrl

      public CreateStripeSaleRequest 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 CreateStripeSaleRequest traceId(String traceId)
    • getTraceId

      @Nullable public 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)
    • contract

      public CreateStripeSaleRequest contract(RawSupplierContract contract)
    • getContract

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

      public void setContract(RawSupplierContract contract)
    • cardholder

      public CreateStripeSaleRequest cardholder(StripeCardholder cardholder)
    • getCardholder

      @Nullable @Valid public @Valid StripeCardholder getCardholder()
      Get cardholder
      Returns:
      cardholder
    • setCardholder

      public void setCardholder(StripeCardholder cardholder)
    • stripeCustomerIdentifier

      public CreateStripeSaleRequest stripeCustomerIdentifier(String stripeCustomerIdentifier)
    • getStripeCustomerIdentifier

      @Nonnull @NotNull public @NotNull String getStripeCustomerIdentifier()
      Vendor, like Stripe, will create a customer identifier to refer to this customer on their end.
      Returns:
      stripeCustomerIdentifier
    • setStripeCustomerIdentifier

      public void setStripeCustomerIdentifier(String stripeCustomerIdentifier)
    • stripePaymentMethodIdentifier

      public CreateStripeSaleRequest stripePaymentMethodIdentifier(String stripePaymentMethodIdentifier)
    • getStripePaymentMethodIdentifier

      @Nonnull @NotNull public @NotNull String getStripePaymentMethodIdentifier()
      Reference to payment method that was used to pay. Can be re-used to make an offline payment.
      Returns:
      stripePaymentMethodIdentifier
    • setStripePaymentMethodIdentifier

      public void setStripePaymentMethodIdentifier(String stripePaymentMethodIdentifier)
    • stripePaymentIntentIdentifier

      public CreateStripeSaleRequest stripePaymentIntentIdentifier(String stripePaymentIntentIdentifier)
    • getStripePaymentIntentIdentifier

      @Nullable public String 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

      public void setStripePaymentIntentIdentifier(String stripePaymentIntentIdentifier)
    • 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