@Gson.TypeAdapters @Value.Immutable public interface ChargeResult extends ChargeBase
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
amountRefunded() |
boolean |
authorisationExpired() |
boolean |
captured() |
CardResult |
card() |
java.lang.String |
createdAt() |
java.lang.String |
errorMessage() |
java.math.BigDecimal |
merchantEntitlement() |
boolean |
refundPending() |
java.lang.String |
settlementCurrency() |
java.lang.String |
statusMessage() |
boolean |
success() |
java.lang.String |
token() |
java.math.BigDecimal |
totalFees() |
java.util.List<Transfer> |
transfer() |
amount, currency, description, email, ipAddress, metadatajava.lang.String token()
boolean success()
@SerializedName(value="created_at") java.lang.String createdAt()
@SerializedName(value="status_message") java.lang.String statusMessage()
@Nullable @SerializedName(value="error_message") java.lang.String errorMessage()
CardResult card()
boolean captured()
@SerializedName(value="authorisation_expired") boolean authorisationExpired()
java.util.List<Transfer> transfer()
@SerializedName(value="amount_refunded") java.math.BigDecimal amountRefunded()
@Nullable @SerializedName(value="total_fees") java.math.BigDecimal totalFees()
@Nullable @SerializedName(value="merchant_entitlement") java.math.BigDecimal merchantEntitlement()
@SerializedName(value="refund_pending") boolean refundPending()
@SerializedName(value="settlement_currency") java.lang.String settlementCurrency()