com.chargebee.models
Class Order.LineItemDiscount

java.lang.Object
  extended by com.chargebee.internal.Resource<Order.LineItemDiscount>
      extended by com.chargebee.models.Order.LineItemDiscount
Enclosing class:
Order

public static class Order.LineItemDiscount
extends Resource<Order.LineItemDiscount>


Nested Class Summary
static class Order.LineItemDiscount.DiscountType
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Order.LineItemDiscount(org.json.JSONObject jsonObj)
           
 
Method Summary
 String couponId()
           
 Integer discountAmount()
           
 Order.LineItemDiscount.DiscountType discountType()
           
 String lineItemId()
           
 
Methods inherited from class com.chargebee.internal.Resource
apiVersionCheck, nullCheck, optBigDecimal, optBoolean, optDouble, optEnum, optInteger, optJSONArray, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONArray, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Order.LineItemDiscount

public Order.LineItemDiscount(org.json.JSONObject jsonObj)
Method Detail

lineItemId

public String lineItemId()

discountType

public Order.LineItemDiscount.DiscountType discountType()

couponId

public String couponId()

discountAmount

public Integer discountAmount()


Copyright © 2019 ChargeBee. All Rights Reserved.