Class PaymentIntent.AmountDetails.Shipping

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.AmountDetails.Shipping
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent.AmountDetails

public static class PaymentIntent.AmountDetails.Shipping extends StripeObject
For more details about Shipping, please refer to the API Reference.
  • Constructor Details

    • Shipping

      public Shipping()
  • Method Details

    • getAmount

      public Long getAmount()
      Portion of the amount that is for shipping.
    • getFromPostalCode

      public String getFromPostalCode()
      The postal code that represents the shipping source.
    • getToPostalCode

      public String getToPostalCode()
      The postal code that represents the shipping destination.
    • setAmount

      public void setAmount(Long amount)
      Portion of the amount that is for shipping.
    • setFromPostalCode

      public void setFromPostalCode(String fromPostalCode)
      The postal code that represents the shipping source.
    • setToPostalCode

      public void setToPostalCode(String toPostalCode)
      The postal code that represents the shipping destination.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object