Class CreatePaymentIntentResponse

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-12-27T17:49:57.050766449+07:00[Asia/Bangkok]") public class CreatePaymentIntentResponse extends Object
CreatePaymentIntentResponse
  • Field Details

  • Constructor Details

    • CreatePaymentIntentResponse

      public CreatePaymentIntentResponse()
  • Method Details

    • customerIdentifier

      public CreatePaymentIntentResponse customerIdentifier(String customerIdentifier)
    • getCustomerIdentifier

      @Nonnull @NotNull public @NotNull String getCustomerIdentifier()
      Stripe's customer ID.
      Returns:
      customerIdentifier
    • setCustomerIdentifier

      public void setCustomerIdentifier(String customerIdentifier)
    • clientSecret

      public CreatePaymentIntentResponse clientSecret(String clientSecret)
    • getClientSecret

      @Nonnull @NotNull public @NotNull String getClientSecret()
      Stripe's clientSecret.
      Returns:
      clientSecret
    • setClientSecret

      public void setClientSecret(String clientSecret)
    • ephemeralKey

      public CreatePaymentIntentResponse ephemeralKey(String ephemeralKey)
    • getEphemeralKey

      @Nullable public String getEphemeralKey()
      Stripe's ephemeralKey for an existing user.
      Returns:
      ephemeralKey
    • setEphemeralKey

      public void setEphemeralKey(String ephemeralKey)
    • 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