public static class Storefront.ShopPayPaymentRequestLineItem extends AbstractResponse<Storefront.ShopPayPaymentRequestLineItem>
optimisticData, responseData| Constructor and Description |
|---|
ShopPayPaymentRequestLineItem() |
ShopPayPaymentRequestLineItem(JsonObject fields) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic ShopPayPaymentRequestLineItem()
public ShopPayPaymentRequestLineItem(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.MoneyV2 getFinalItemPrice()
public Storefront.ShopPayPaymentRequestLineItem setFinalItemPrice(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getFinalLinePrice()
public Storefront.ShopPayPaymentRequestLineItem setFinalLinePrice(Storefront.MoneyV2 arg)
public Storefront.ShopPayPaymentRequestImage getImage()
public Storefront.ShopPayPaymentRequestLineItem setImage(Storefront.ShopPayPaymentRequestImage arg)
public java.util.List<Storefront.ShopPayPaymentRequestDiscount> getItemDiscounts()
public Storefront.ShopPayPaymentRequestLineItem setItemDiscounts(java.util.List<Storefront.ShopPayPaymentRequestDiscount> arg)
public java.lang.String getLabel()
public Storefront.ShopPayPaymentRequestLineItem setLabel(java.lang.String arg)
public java.util.List<Storefront.ShopPayPaymentRequestDiscount> getLineDiscounts()
public Storefront.ShopPayPaymentRequestLineItem setLineDiscounts(java.util.List<Storefront.ShopPayPaymentRequestDiscount> arg)
public Storefront.MoneyV2 getOriginalItemPrice()
public Storefront.ShopPayPaymentRequestLineItem setOriginalItemPrice(Storefront.MoneyV2 arg)
public Storefront.MoneyV2 getOriginalLinePrice()
public Storefront.ShopPayPaymentRequestLineItem setOriginalLinePrice(Storefront.MoneyV2 arg)
public java.lang.Integer getQuantity()
public Storefront.ShopPayPaymentRequestLineItem setQuantity(java.lang.Integer arg)
public java.lang.Boolean getRequiresShipping()
public Storefront.ShopPayPaymentRequestLineItem setRequiresShipping(java.lang.Boolean arg)
public java.lang.String getSku()
public Storefront.ShopPayPaymentRequestLineItem setSku(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.ShopPayPaymentRequestLineItem>