Class TransactionCreateReversalParams.LineItem

java.lang.Object
com.stripe.param.tax.TransactionCreateReversalParams.LineItem
Enclosing class:
TransactionCreateReversalParams

public static class TransactionCreateReversalParams.LineItem extends Object
  • Method Details

    • builder

    • getAmount

      public Long getAmount()
      Required. The amount to reverse, in the smallest currency unit in negative.
    • getAmountTax

      public Long getAmountTax()
      Required. The amount of tax to reverse, in the smallest currency unit in negative.
    • 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.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • getOriginalLineItem

      public String getOriginalLineItem()
      Required. The id of the line item to reverse in the original transaction.
    • getQuantity

      public Long getQuantity()
      The quantity reversed. Appears in tax exports, but does not affect the amount of tax reversed.
    • getReference

      public String getReference()
      Required. A custom identifier for this line item in the reversal transaction, such as 'L1-refund'.