public class SelectedShippingMethod extends AbstractResponse<SelectedShippingMethod>
optimisticData, responseData| Constructor and Description |
|---|
SelectedShippingMethod() |
SelectedShippingMethod(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount() |
Money |
getBaseAmount()
Deprecated.
The field should not be used on the storefront
|
String |
getCarrierCode() |
String |
getCarrierTitle() |
String |
getGraphQlTypeName() |
String |
getMethodCode() |
String |
getMethodTitle() |
SelectedShippingMethod |
setAmount(Money arg) |
SelectedShippingMethod |
setBaseAmount(Money arg) |
SelectedShippingMethod |
setCarrierCode(String arg) |
SelectedShippingMethod |
setCarrierTitle(String arg) |
SelectedShippingMethod |
setMethodCode(String arg) |
SelectedShippingMethod |
setMethodTitle(String arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic SelectedShippingMethod()
public SelectedShippingMethod(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public Money getAmount()
public SelectedShippingMethod setAmount(Money arg)
@Deprecated public Money getBaseAmount()
public SelectedShippingMethod setBaseAmount(Money arg)
public String getCarrierCode()
public SelectedShippingMethod setCarrierCode(String arg)
public String getCarrierTitle()
public SelectedShippingMethod setCarrierTitle(String arg)
public String getMethodCode()
public SelectedShippingMethod setMethodCode(String arg)
public String getMethodTitle()
public SelectedShippingMethod setMethodTitle(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<SelectedShippingMethod>Copyright © 2022 Adobe. All rights reserved.