public class PagePaymentOptions extends APINode
Modifier and Type | Field and Description |
---|---|
protected static com.google.gson.Gson |
gson |
Constructor and Description |
---|
PagePaymentOptions() |
Modifier and Type | Method and Description |
---|---|
PagePaymentOptions |
copyFrom(PagePaymentOptions instance) |
APIContext |
getContext() |
Long |
getFieldAmex() |
Long |
getFieldCashOnly() |
Long |
getFieldDiscover() |
Long |
getFieldMastercard() |
Long |
getFieldVisa() |
String |
getId() |
static APIRequest.ResponseParser<PagePaymentOptions> |
getParser() |
static PagePaymentOptions |
loadJSON(String json,
APIContext context,
String header) |
static APINodeList<PagePaymentOptions> |
parseResponse(String json,
APIContext context,
APIRequest request,
String header) |
void |
setContext(APIContext context) |
PagePaymentOptions |
setFieldAmex(Long value) |
PagePaymentOptions |
setFieldCashOnly(Long value) |
PagePaymentOptions |
setFieldDiscover(Long value) |
PagePaymentOptions |
setFieldMastercard(Long value) |
PagePaymentOptions |
setFieldVisa(Long value) |
String |
toString() |
getException, getHeader, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponse
public static PagePaymentOptions loadJSON(String json, APIContext context, String header)
public static APINodeList<PagePaymentOptions> parseResponse(String json, APIContext context, APIRequest request, String header) throws APIException.MalformedResponseException
public APIContext getContext()
getContext
in class APINode
public void setContext(APIContext context)
setContext
in class APINode
public Long getFieldAmex()
public PagePaymentOptions setFieldAmex(Long value)
public Long getFieldCashOnly()
public PagePaymentOptions setFieldCashOnly(Long value)
public Long getFieldDiscover()
public PagePaymentOptions setFieldDiscover(Long value)
public Long getFieldMastercard()
public PagePaymentOptions setFieldMastercard(Long value)
public Long getFieldVisa()
public PagePaymentOptions setFieldVisa(Long value)
public PagePaymentOptions copyFrom(PagePaymentOptions instance)
public static APIRequest.ResponseParser<PagePaymentOptions> getParser()
Copyright © 2020. All rights reserved.