com.chargebee.models
Class Order

java.lang.Object
  extended by com.chargebee.internal.Resource<Order>
      extended by com.chargebee.models.Order

public class Order
extends Resource<Order>


Nested Class Summary
static class Order.BillingAddress
           
static class Order.CancellationReason
           
static class Order.CancelRequest
           
static class Order.CreateRefundableCreditNoteRequest
           
static class Order.CreateRequest
           
static class Order.LineItemDiscount
           
static class Order.LineItemTax
           
static class Order.LinkedCreditNote
           
static class Order.OrderLineItem
           
static class Order.OrderListRequest
           
static class Order.OrderType
           
static class Order.PaymentStatus
           
static class Order.ReopenRequest
           
static class Order.ShippingAddress
           
static class Order.Status
           
static class Order.UpdateRequest
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Order(org.json.JSONObject jsonObj)
           
Order(String jsonStr)
           
 
Method Summary
 Integer amountAdjusted()
           
 Integer amountPaid()
           
static Request assignOrderNumber(String id)
           
 String batchId()
           
 Order.BillingAddress billingAddress()
           
static Order.CancelRequest cancel(String id)
           
 Order.CancellationReason cancellationReason()
           
 Timestamp cancelledAt()
           
static Order.CreateRequest create()
           
 Timestamp createdAt()
           
 String createdBy()
           
static Order.CreateRefundableCreditNoteRequest createRefundableCreditNote(String id)
           
 String currencyCode()
           
 String customerId()
           
 Boolean deleted()
           
 Timestamp deliveredAt()
           
 Integer discount()
           
 String documentNumber()
           
 String fulfillmentStatus()
           
 String giftId()
           
 String giftNote()
           
 String id()
           
 String invoiceId()
           
 Integer invoiceRoundOffAmount()
           
 Boolean isGifted()
           
 List<Order.LineItemDiscount> lineItemDiscounts()
           
 List<Order.LineItemTax> lineItemTaxes()
           
 List<Order.LinkedCreditNote> linkedCreditNotes()
           
static Order.OrderListRequest list()
           
 String note()
           
 Timestamp orderDate()
           
 List<Order.OrderLineItem> orderLineItems()
           
static ListRequest ordersForInvoice(String id)
          Deprecated. 
 Order.OrderType orderType()
           
 Timestamp paidOn()
           
 Order.PaymentStatus paymentStatus()
           
 PriceType priceType()
           
 String referenceId()
           
 Integer refundableCredits()
           
 Integer refundableCreditsIssued()
           
static Order.ReopenRequest reopen(String id)
           
 Long resourceVersion()
           
static Request retrieve(String id)
           
 Integer roundingAdjustement()
           
 String shipmentCarrier()
           
 Timestamp shippedAt()
           
 Order.ShippingAddress shippingAddress()
           
 Timestamp shippingCutOffDate()
           
 Timestamp shippingDate()
           
 Order.Status status()
           
 Timestamp statusUpdateAt()
           
 String subscriptionId()
           
 Integer subTotal()
           
 Integer tax()
           
 Integer total()
           
 String trackingId()
           
static Order.UpdateRequest update(String id)
           
 Timestamp updatedAt()
           
 
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

public Order(String jsonStr)

Order

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

id

public String id()

documentNumber

public String documentNumber()

invoiceId

public String invoiceId()

subscriptionId

public String subscriptionId()

customerId

public String customerId()

status

public Order.Status status()

cancellationReason

public Order.CancellationReason cancellationReason()

paymentStatus

public Order.PaymentStatus paymentStatus()

orderType

public Order.OrderType orderType()

priceType

public PriceType priceType()

referenceId

public String referenceId()

fulfillmentStatus

public String fulfillmentStatus()

orderDate

public Timestamp orderDate()

shippingDate

public Timestamp shippingDate()

note

public String note()

trackingId

public String trackingId()

batchId

public String batchId()

createdBy

public String createdBy()

shipmentCarrier

public String shipmentCarrier()

invoiceRoundOffAmount

public Integer invoiceRoundOffAmount()

tax

public Integer tax()

amountPaid

public Integer amountPaid()

amountAdjusted

public Integer amountAdjusted()

refundableCreditsIssued

public Integer refundableCreditsIssued()

refundableCredits

public Integer refundableCredits()

roundingAdjustement

public Integer roundingAdjustement()

paidOn

public Timestamp paidOn()

shippingCutOffDate

public Timestamp shippingCutOffDate()

createdAt

public Timestamp createdAt()

statusUpdateAt

public Timestamp statusUpdateAt()

deliveredAt

public Timestamp deliveredAt()

shippedAt

public Timestamp shippedAt()

resourceVersion

public Long resourceVersion()

updatedAt

public Timestamp updatedAt()

cancelledAt

public Timestamp cancelledAt()

orderLineItems

public List<Order.OrderLineItem> orderLineItems()

shippingAddress

public Order.ShippingAddress shippingAddress()

billingAddress

public Order.BillingAddress billingAddress()

discount

public Integer discount()

subTotal

public Integer subTotal()

total

public Integer total()

lineItemTaxes

public List<Order.LineItemTax> lineItemTaxes()

lineItemDiscounts

public List<Order.LineItemDiscount> lineItemDiscounts()

linkedCreditNotes

public List<Order.LinkedCreditNote> linkedCreditNotes()

deleted

public Boolean deleted()

currencyCode

public String currencyCode()

isGifted

public Boolean isGifted()

giftNote

public String giftNote()

giftId

public String giftId()

create

public static Order.CreateRequest create()

update

public static Order.UpdateRequest update(String id)

assignOrderNumber

public static Request assignOrderNumber(String id)

cancel

public static Order.CancelRequest cancel(String id)

createRefundableCreditNote

public static Order.CreateRefundableCreditNoteRequest createRefundableCreditNote(String id)

reopen

public static Order.ReopenRequest reopen(String id)

retrieve

public static Request retrieve(String id)

list

public static Order.OrderListRequest list()

ordersForInvoice

@Deprecated
public static ListRequest ordersForInvoice(String id)
Deprecated. 



Copyright © 2019 ChargeBee. All Rights Reserved.