Class SalesChannelContext
java.lang.Object
de.codebarista.shopware.model.core.SalesChannelContext
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-10T11:26:02.541008353+02:00[Europe/Berlin]",
comments="Generator version: 7.5.0")
public class SalesChannelContext
extends Object
SalesChannelContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTaxRulesItem(SalesChannelContextAllOfTaxRules taxRulesItem) context(SalesChannelContextAllOfContext context) currency(SalesChannelContextAllOfCurrency currency) currentCustomerGroup(SalesChannelContextAllOfCurrentCustomerGroup currentCustomerGroup) customer(SalesChannelContextAllOfCustomer customer) booleanfallbackCustomerGroup(SalesChannelContextAllOfFallbackCustomerGroup fallbackCustomerGroup) Alias which can be used to restrict response fields.Get contextGet currencyGet currentCustomerGroupGet customerGet fallbackCustomerGroupGet paymentMethodGet salesChannelGet shippingMethodCurrently active tax rules and/or ratesgetToken()Context the user sessioninthashCode()paymentMethod(SalesChannelContextAllOfPaymentMethod paymentMethod) salesChannel(SalesChannelContextAllOfSalesChannel salesChannel) voidsetApiAlias(String apiAlias) voidvoidsetCurrency(SalesChannelContextAllOfCurrency currency) voidsetCurrentCustomerGroup(SalesChannelContextAllOfCurrentCustomerGroup currentCustomerGroup) voidsetCustomer(SalesChannelContextAllOfCustomer customer) voidsetFallbackCustomerGroup(SalesChannelContextAllOfFallbackCustomerGroup fallbackCustomerGroup) voidsetPaymentMethod(SalesChannelContextAllOfPaymentMethod paymentMethod) voidsetSalesChannel(SalesChannelContextAllOfSalesChannel salesChannel) voidsetShippingMethod(SalesChannelContextAllOfShippingMethod shippingMethod) voidsetTaxRules(List<SalesChannelContextAllOfTaxRules> taxRules) voidshippingMethod(SalesChannelContextAllOfShippingMethod shippingMethod) taxRules(List<SalesChannelContextAllOfTaxRules> taxRules) toString()
-
Field Details
-
JSON_PROPERTY_API_ALIAS
- See Also:
-
JSON_PROPERTY_TOKEN
- See Also:
-
JSON_PROPERTY_CURRENT_CUSTOMER_GROUP
- See Also:
-
JSON_PROPERTY_FALLBACK_CUSTOMER_GROUP
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
JSON_PROPERTY_SALES_CHANNEL
- See Also:
-
JSON_PROPERTY_TAX_RULES
- See Also:
-
JSON_PROPERTY_CUSTOMER
- See Also:
-
JSON_PROPERTY_PAYMENT_METHOD
- See Also:
-
JSON_PROPERTY_SHIPPING_METHOD
- See Also:
-
JSON_PROPERTY_CONTEXT
- See Also:
-
-
Constructor Details
-
SalesChannelContext
public SalesChannelContext()
-
-
Method Details
-
apiAlias
-
getApiAlias
Alias which can be used to restrict response fields. For more information see [includes](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#includes-apialias).- Returns:
- apiAlias
-
setApiAlias
-
token
-
getToken
Context the user session- Returns:
- token
-
setToken
-
currentCustomerGroup
public SalesChannelContext currentCustomerGroup(SalesChannelContextAllOfCurrentCustomerGroup currentCustomerGroup) -
getCurrentCustomerGroup
Get currentCustomerGroup- Returns:
- currentCustomerGroup
-
setCurrentCustomerGroup
public void setCurrentCustomerGroup(SalesChannelContextAllOfCurrentCustomerGroup currentCustomerGroup) -
fallbackCustomerGroup
public SalesChannelContext fallbackCustomerGroup(SalesChannelContextAllOfFallbackCustomerGroup fallbackCustomerGroup) -
getFallbackCustomerGroup
Get fallbackCustomerGroup- Returns:
- fallbackCustomerGroup
-
setFallbackCustomerGroup
public void setFallbackCustomerGroup(SalesChannelContextAllOfFallbackCustomerGroup fallbackCustomerGroup) -
currency
-
getCurrency
Get currency- Returns:
- currency
-
setCurrency
-
salesChannel
-
getSalesChannel
Get salesChannel- Returns:
- salesChannel
-
setSalesChannel
-
taxRules
-
addTaxRulesItem
-
getTaxRules
Currently active tax rules and/or rates- Returns:
- taxRules
-
setTaxRules
-
customer
-
getCustomer
Get customer- Returns:
- customer
-
setCustomer
-
paymentMethod
-
getPaymentMethod
Get paymentMethod- Returns:
- paymentMethod
-
setPaymentMethod
-
shippingMethod
-
getShippingMethod
Get shippingMethod- Returns:
- shippingMethod
-
setShippingMethod
-
context
-
getContext
Get context- Returns:
- context
-
setContext
-
equals
-
hashCode
public int hashCode() -
toString
-