Class PaymentIntentUpdateParams.AmountDetails.LineItem

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

public static class PaymentIntentUpdateParams.AmountDetails.LineItem extends Object
  • Method Details

    • builder

    • getDiscountAmount

      public Long getDiscountAmount()
      The amount an item was discounted for. Positive integer.
    • 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.
    • getPaymentMethodOptions

      Payment method-specific information for line items.
    • getProductCode

      public Object getProductCode()
      Unique identifier of the product. At most 12 characters long.
    • getProductName

      public Object getProductName()
      Required. Name of the product. At most 100 characters long.
    • getQuantity

      public Long getQuantity()
      Required. Number of items of the product. Positive integer.
    • getTax

      Contains information about the tax on the item.
    • getUnitCost

      public Long getUnitCost()
      Required. Cost of the product. Non-negative integer.
    • getUnitOfMeasure

      public Object getUnitOfMeasure()
      A unit of measure for the line item, such as gallons, feet, meters, etc.
    • 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