public class Order extends Resource
| Modifier and Type | Field and Description |
|---|---|
Integer |
amount |
Integer |
amount_refunded |
ConektaList |
charges |
Integer |
created_at |
String |
currency |
CustomerInfo |
customer_info |
ConektaList |
discount_lines |
ConektaList |
line_items |
Boolean |
livemode |
HashMap |
metadata |
String |
payment_status |
ShippingContact |
shipping_contact |
ConektaList |
shipping_lines |
ConektaList |
tax_lines |
HashMap |
transitions |
idmodCount| Modifier and Type | Method and Description |
|---|---|
void |
capture() |
static Order |
create(org.json.JSONObject params) |
Charge |
createCharge(org.json.JSONObject params) |
DiscountLine |
createDiscountLine(org.json.JSONObject params) |
LineItems |
createLineItem(org.json.JSONObject params) |
ShippingContact |
createShippingContact(org.json.JSONObject params) |
ShippingLine |
createShippingLine(org.json.JSONObject params) |
TaxLine |
createTaxLine(org.json.JSONObject params) |
void |
delete() |
static Order |
find(String id) |
void |
loadFromObject(org.json.JSONObject jsonObject) |
Order |
refund(org.json.JSONObject params) |
void |
reload() |
void |
update(org.json.JSONObject params) |
static ConektaList |
where(org.json.JSONObject params) |
classUrl, createMember, createMemberWithRelation, customAction, delete, instanceUrl, scpCreate, scpFind, scpWhere, scpWhereListaux, getId, getVal, loadFromArray, loadFromArray, setId, setVal, toCamelCase, toProperCase, toStringadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic String payment_status
public String currency
public Integer amount
public Integer created_at
public Boolean livemode
public CustomerInfo customer_info
public HashMap metadata
public HashMap transitions
public ConektaList discount_lines
public ShippingContact shipping_contact
public ConektaList tax_lines
public ConektaList charges
public ConektaList shipping_lines
public ConektaList line_items
public Integer amount_refunded
public Order(String id)
public Order()
public void loadFromObject(org.json.JSONObject jsonObject)
throws Exception
loadFromObject in class ConektaObjectExceptionpublic static ConektaList where(org.json.JSONObject params) throws Error, org.json.JSONException, ErrorList
public DiscountLine createDiscountLine(org.json.JSONObject params) throws org.json.JSONException, Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
org.json.JSONExceptionErrorErrorListNoSuchFieldExceptionIllegalArgumentExceptionIllegalAccessExceptionpublic ShippingContact createShippingContact(org.json.JSONObject params) throws org.json.JSONException, Error, ErrorList
public TaxLine createTaxLine(org.json.JSONObject params) throws org.json.JSONException, Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
org.json.JSONExceptionErrorErrorListNoSuchFieldExceptionIllegalArgumentExceptionIllegalAccessExceptionpublic Charge createCharge(org.json.JSONObject params) throws org.json.JSONException, Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
org.json.JSONExceptionErrorErrorListNoSuchFieldExceptionIllegalArgumentExceptionIllegalAccessExceptionpublic ShippingLine createShippingLine(org.json.JSONObject params) throws org.json.JSONException, Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
org.json.JSONExceptionErrorErrorListNoSuchFieldExceptionIllegalArgumentExceptionIllegalAccessExceptionpublic LineItems createLineItem(org.json.JSONObject params) throws org.json.JSONException, Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
org.json.JSONExceptionErrorErrorListNoSuchFieldExceptionIllegalArgumentExceptionIllegalAccessExceptionCopyright © 2019. All rights reserved.