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 MyCustomerSigninBuilderbuilder()builder factory method for MyCustomerSigninstatic MyCustomerSigninBuilderbuilder(MyCustomerSignin template) create builder for MyCustomerSignin instancecopyDeep()static MyCustomerSignindeepCopy(MyCustomerSignin template) factory method to create a deep copy of MyCustomerSignin@NotNull StringgetEmail()Email address of the Customer treated as case-insensitive.@NotNull StringPassword 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 MyCustomerSigninof()factory methodstatic MyCustomerSigninof(MyCustomerSignin template) factory method to create a shallow copy MyCustomerSigninvoidsetActiveCartSignInMode(AnonymousCartSignInMode activeCartSignInMode) voidEmail address of the Customer treated as case-insensitive.voidsetPassword(String password) Password of the Customer.voidsetUpdateProductData(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> TwithMyCustomerSignin(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()- Returns:
- activeCartSignInMode
-
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
- Parameters:
activeCartSignInMode- value to be set
-
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
-
copyDeep
MyCustomerSignin copyDeep() -
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
-