Class PaymentLinkCreateParams.LineItem

Enclosing class:

public static class PaymentLinkCreateParams.LineItem extends Object
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See PaymentLinkCreateParams.InvoiceCreation.InvoiceData.RenderingOptions.extraParams for the field documentation.
  • Method Details

    • builder

    • getAdjustableQuantity

      When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.
    • 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.
    • getPrice

      public String getPrice()
      Required. The ID of the Price or Plan object.
    • getQuantity

      public Long getQuantity()
      Required. The quantity of the line item being purchased.