public static class Storefront.ShopPayPaymentRequest extends AbstractResponse<Storefront.ShopPayPaymentRequest>
optimisticData, responseData| Constructor and Description |
|---|
ShopPayPaymentRequest() |
ShopPayPaymentRequest(JsonObject fields) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic ShopPayPaymentRequest()
public ShopPayPaymentRequest(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.util.List<Storefront.ShopPayPaymentRequestDeliveryMethod> getDeliveryMethods()
public Storefront.ShopPayPaymentRequest setDeliveryMethods(java.util.List<Storefront.ShopPayPaymentRequestDeliveryMethod> arg)
public java.util.List<java.lang.String> getDiscountCodes()
public Storefront.ShopPayPaymentRequest setDiscountCodes(java.util.List<java.lang.String> arg)
public java.util.List<Storefront.ShopPayPaymentRequestDiscount> getDiscounts()
public Storefront.ShopPayPaymentRequest setDiscounts(java.util.List<Storefront.ShopPayPaymentRequestDiscount> arg)
public java.util.List<Storefront.ShopPayPaymentRequestLineItem> getLineItems()
public Storefront.ShopPayPaymentRequest setLineItems(java.util.List<Storefront.ShopPayPaymentRequestLineItem> arg)
public java.lang.String getLocale()
public Storefront.ShopPayPaymentRequest setLocale(java.lang.String arg)
public Storefront.CurrencyCode getPresentmentCurrency()
public Storefront.ShopPayPaymentRequest setPresentmentCurrency(Storefront.CurrencyCode arg)
public Storefront.ShopPayPaymentRequestDeliveryMethodType getSelectedDeliveryMethodType()
public Storefront.ShopPayPaymentRequest setSelectedDeliveryMethodType(Storefront.ShopPayPaymentRequestDeliveryMethodType arg)
public Storefront.ShopPayPaymentRequestContactField getShippingAddress()
public Storefront.ShopPayPaymentRequest setShippingAddress(Storefront.ShopPayPaymentRequestContactField arg)
public java.util.List<Storefront.ShopPayPaymentRequestShippingLine> getShippingLines()
public Storefront.ShopPayPaymentRequest setShippingLines(java.util.List<Storefront.ShopPayPaymentRequestShippingLine> arg)
public Storefront.MoneyV2 getSubtotal()
public Storefront.ShopPayPaymentRequest setSubtotal(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getTotal()
public Storefront.ShopPayPaymentRequest setTotal(Storefront.MoneyV2 arg)
public Storefront.ShopPayPaymentRequestTotalShippingPrice getTotalShippingPrice()
public Storefront.ShopPayPaymentRequest setTotalShippingPrice(Storefront.ShopPayPaymentRequestTotalShippingPrice arg)
public Storefront.MoneyV2 getTotalTax()
public Storefront.ShopPayPaymentRequest setTotalTax(Storefront.MoneyV2 arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.ShopPayPaymentRequest>