Class PaymentIntentCreateParams.PaymentMethodOptions.Paypal.LineItem

java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentMethodOptions.Paypal.LineItem
Enclosing class:
PaymentIntentCreateParams.PaymentMethodOptions.Paypal

public static class PaymentIntentCreateParams.PaymentMethodOptions.Paypal.LineItem extends Object
  • Method Details

    • builder

    • getCategory

      Type of the line item.
    • getDescription

      public String getDescription()
      Description of the line item.
    • 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.
    • getName

      public String getName()
      Required. Descriptive name of the line item.
    • getQuantity

      public Long getQuantity()
      Required. Quantity of the line item. Must be a positive number.
    • getSku

      public String getSku()
      Client facing stock keeping unit, article number or similar.
    • getSoldBy

      public String getSoldBy()
      The Stripe account ID of the connected account that sells the item.
    • getTax

      The tax information for the line item.
    • getUnitAmount

      public Long getUnitAmount()
      Required. Price for a single unit of the line item in minor units. Cannot be a negative number.
    • 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