Modifier and Type | Class and Description |
---|---|
static class |
SettlementRec.Builder
SettlementRec builder
|
Modifier | Constructor and Description |
---|---|
protected |
SettlementRec(SettlementRec.Builder b)
Build a new SettlementRec instance
|
Modifier and Type | Method and Description |
---|---|
static SettlementRec |
fromJson(javax.json.JsonObject json)
Build a SettlementRec instance form Jet json
|
String |
getCurrency()
The currency that all monetary values are represented in, for the retrieved settlement report.
|
Money |
getJetAdjustment()
A credit given to a merchant or fee taken from the merchant
|
Money |
getOrderBalance()
The total value of orders that is settled in this settlement report
|
OrderDetailRec |
getOrderDetails()
Retrieve the order balance details - this can return null.
|
JetDate |
getPeriodEnd()
The end date/time of the settlement report
|
JetDate |
getPeriodStart()
The start date/time of the settlement report.
|
int |
getReportId()
The unique ID for this settlement report.
|
Money |
getReturnBalance()
The total value of returns that is settled in this settlement report
|
ReturnDetailRec |
getReturnDetails()
Get the return balance details - this can be null.
|
Money |
getSettlementValue()
The total value of orders that is settled in this settlement report
|
SettlementState |
getState()
The status of the current settlement
|
Money |
getUnavailableBalance()
The total value of all sales and returns that aren't settled yet.
|
javax.json.JsonObject |
toJSON()
Turn this into Jet json.
|
protected SettlementRec(SettlementRec.Builder b)
b
- builderpublic static SettlementRec fromJson(javax.json.JsonObject json)
json
- jet jsonpublic int getReportId()
public SettlementState getState()
public String getCurrency()
public Money getUnavailableBalance()
public JetDate getPeriodStart()
public JetDate getPeriodEnd()
public OrderDetailRec getOrderDetails()
public Money getOrderBalance()
public ReturnDetailRec getReturnDetails()
public Money getReturnBalance()
public Money getJetAdjustment()
public Money getSettlementValue()
Copyright © 2017. All rights reserved.