Interface MyCustomerSignin
public interface MyCustomerSignin
MyCustomerSignin
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCustomerSignin myCustomerSignin = MyCustomerSignin.builder()
.email("{email}")
.password("{password}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic MyCustomerSigninBuilder
builder()
builder factory method for MyCustomerSigninstatic MyCustomerSigninBuilder
builder
(MyCustomerSignin template) create builder for MyCustomerSignin instancestatic MyCustomerSignin
deepCopy
(MyCustomerSignin template) factory method to create a deep copy of MyCustomerSigninIfMergeWithExistingCustomerCart
, LineItems of the anonymous Cart are merged with the recently modified active Customer Cart. IfUseAsNewActiveCustomerCart
, the anonymous Cart is used as the new active Customer Cart, and no LineItems are merged.@NotNull String
getEmail()
Email address of the Customer treated as case-insensitive.@NotNull String
Password of the Customer.Iftrue
, the LineItem Product data (name
,variant
, andproductType
) of the returned Cart is updated. Iffalse
, only the prices, discounts, and tax rates are updated.static MyCustomerSignin
of()
factory methodstatic MyCustomerSignin
of
(MyCustomerSignin template) factory method to create a shallow copy MyCustomerSigninvoid
setActiveCartSignInMode
(AnonymousCartSignInMode activeCartSignInMode) IfMergeWithExistingCustomerCart
, LineItems of the anonymous Cart are merged with the recently modified active Customer Cart. IfUseAsNewActiveCustomerCart
, the anonymous Cart is used as the new active Customer Cart, and no LineItems are merged.void
Email address of the Customer treated as case-insensitive.void
setPassword
(String password) Password of the Customer.void
setUpdateProductData
(Boolean updateProductData) Iftrue
, the LineItem Product data (name
,variant
, andproductType
) of the returned Cart is updated. Iffalse
, only the prices, discounts, and tax rates are updated.static com.fasterxml.jackson.core.type.TypeReference<MyCustomerSignin>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withMyCustomerSignin
(Function<MyCustomerSignin, T> helper) accessor map function
-
Method Details
-
getEmail
Email address of the Customer treated as case-insensitive.
- Returns:
-
getPassword
Password of the Customer.
- Returns:
- password
-
getActiveCartSignInMode
AnonymousCartSignInMode getActiveCartSignInMode()- If
MergeWithExistingCustomerCart
, LineItems of the anonymous Cart are merged with the recently modified active Customer Cart. - If
UseAsNewActiveCustomerCart
, the anonymous Cart is used as the new active Customer Cart, and no LineItems are merged.
- Returns:
- activeCartSignInMode
- If
-
getUpdateProductData
Boolean getUpdateProductData()- If
true
, the LineItem Product data (name
,variant
, andproductType
) of the returned Cart is updated. - If
false
, only the prices, discounts, and tax rates are updated.
- Returns:
- updateProductData
- If
-
setEmail
Email address of the Customer treated as case-insensitive.
- Parameters:
email
- value to be set
-
setPassword
Password of the Customer.
- Parameters:
password
- value to be set
-
setActiveCartSignInMode
- If
MergeWithExistingCustomerCart
, LineItems of the anonymous Cart are merged with the recently modified active Customer Cart. - If
UseAsNewActiveCustomerCart
, the anonymous Cart is used as the new active Customer Cart, and no LineItems are merged.
- Parameters:
activeCartSignInMode
- value to be set
- If
-
setUpdateProductData
- If
true
, the LineItem Product data (name
,variant
, andproductType
) of the returned Cart is updated. - If
false
, only the prices, discounts, and tax rates are updated.
- Parameters:
updateProductData
- value to be set
- If
-
of
factory method- Returns:
- instance of MyCustomerSignin
-
of
factory method to create a shallow copy MyCustomerSignin- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of MyCustomerSignin- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyCustomerSignin- Returns:
- builder
-
builder
create builder for MyCustomerSignin instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyCustomerSignin
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-