IdempotentRequestBuilder<B>, RequestBuilder<M,Request<M>>RefundBuilders.CreateRefundRequestBuilderpublic abstract static class AbstractRefundBuilders.AbstractCreateRefundRequestBuilder<B extends AbstractRefundBuilders.AbstractCreateRefundRequestBuilder,R,M extends Refund> extends IdempotentRetrofitRequestBuilder<M,R,B>
| Modifier and Type | Field | Description |
|---|---|---|
protected BigInteger |
amount |
|
protected ChargeId |
chargeId |
|
protected String |
currency |
|
protected String |
message |
|
protected MetadataMap |
metadata |
|
protected RefundReason |
reason |
|
protected StoreId |
storeId |
idempotencyKey| Constructor | Description |
|---|---|
AbstractCreateRefundRequestBuilder(retrofit2.Retrofit retrofit,
StoreId storeId,
ChargeId chargeId,
BigInteger amount,
String currency,
RefundReason reason) |
| Modifier and Type | Method | Description |
|---|---|---|
protected BigInteger |
getAmount() |
|
protected ChargeId |
getChargeId() |
|
protected String |
getCurrency() |
|
protected String |
getMessage() |
|
protected MetadataMap |
getMetadata() |
|
protected RefundReason |
getReason() |
|
protected StoreId |
getStoreId() |
|
B |
withMessage(String message) |
|
B |
withMetadata(MetadataMap metadata) |
|
<T> B |
withMetadata(T metadata,
MetadataAdapter<T> adapter) |
getIdempotencyKey, withIdempotencyKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, getRequestprotected StoreId storeId
protected ChargeId chargeId
protected BigInteger amount
protected String currency
protected RefundReason reason
protected String message
protected MetadataMap metadata
public AbstractCreateRefundRequestBuilder(retrofit2.Retrofit retrofit,
StoreId storeId,
ChargeId chargeId,
BigInteger amount,
String currency,
RefundReason reason)
protected StoreId getStoreId()
protected ChargeId getChargeId()
protected BigInteger getAmount()
protected String getCurrency()
protected RefundReason getReason()
protected String getMessage()
protected MetadataMap getMetadata()
public B withMetadata(MetadataMap metadata)
public <T> B withMetadata(T metadata, MetadataAdapter<T> adapter)
Copyright © 2018 The Apache Software Foundation. All rights reserved.