Class PaymentIntentUpdateParams.AmountDetails.Shipping

java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.AmountDetails.Shipping
Enclosing class:
PaymentIntentUpdateParams.AmountDetails

public static class PaymentIntentUpdateParams.AmountDetails.Shipping extends Object
Required. The total amount of tax on a single line item represented in the smallest currency unit. Required for L3 rates. An integer greater than or equal to 0.

This field is mutually exclusive with the amount_details[tax][total_tax_amount] field.

  • Method Details

    • builder

    • getAmount

      public Object 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.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getFromPostalCode

      public Object 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 Object 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.
    • 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