Class InvoiceItemUpdateParams.Discount

  • Enclosing class:
    InvoiceItemUpdateParams

    public static class InvoiceItemUpdateParams.Discount
    extends java.lang.Object
    • Method Summary

      Modifier and Type Method Description
      static InvoiceItemUpdateParams.Discount.Builder builder()  
      java.lang.Object getCoupon()
      ID of the coupon to create a new discount for.
      java.lang.Object getDiscount()
      ID of an existing discount on the object (or one of its ancestors) to reuse.
      java.util.Map<java.lang.String,​java.lang.Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCoupon

        public java.lang.Object getCoupon()
        ID of the coupon to create a new discount for.
      • getDiscount

        public java.lang.Object getDiscount()
        ID of an existing discount on the object (or one of its ancestors) to reuse.
      • getExtraParams

        public java.util.Map<java.lang.String,​java.lang.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.