Class TransactionCreateReversalParams.ShippingCost

Enclosing class:

public static class TransactionCreateReversalParams.ShippingCost extends Object
Required. A custom identifier for this line item in the reversal transaction, such as 'L1-refund'.
  • Method Details

    • builder

    • getAmount

      public Long getAmount()
      Required. The amount to reverse, in negative integer cents.
    • getAmountTax

      public Long getAmountTax()
      Required. The amount of tax to reverse, in negative integer cents.
    • 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.