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()
      If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An integer greater than or equal to 0.
    • getFromPostalCode

      public String getFromPostalCode()
      If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
    • getToPostalCode

      public String getToPostalCode()
      If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
    • setAmount

      public void setAmount(Long amount)
      If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An integer greater than or equal to 0.
    • setFromPostalCode

      public void setFromPostalCode(String fromPostalCode)
      If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
    • setToPostalCode

      public void setToPostalCode(String toPostalCode)
      If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
    • 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