Class CustomerSetVatIdActionBuilder
java.lang.Object
com.commercetools.api.models.customer.CustomerSetVatIdActionBuilder
- All Implemented Interfaces:
Builder<CustomerSetVatIdAction>
public class CustomerSetVatIdActionBuilder
extends Object
implements Builder<CustomerSetVatIdAction>
CustomerSetVatIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerSetVatIdAction customerSetVatIdAction = CustomerSetVatIdAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerSetVatIdAction with checking for non-null required valuesbuilds CustomerSetVatIdAction without checking for non-null required valuesgetVatId()
Value to set.of()
factory method for an instance of CustomerSetVatIdActionBuilderof
(CustomerSetVatIdAction template) create builder for CustomerSetVatIdAction instanceValue to set.
-
Constructor Details
-
CustomerSetVatIdActionBuilder
public CustomerSetVatIdActionBuilder()
-
-
Method Details
-
vatId
Value to set. If empty, any existing value is removed.
- Parameters:
vatId
- value to be set- Returns:
- Builder
-
getVatId
Value to set. If empty, any existing value is removed.
- Returns:
- vatId
-
build
builds CustomerSetVatIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerSetVatIdAction>
- Returns:
- CustomerSetVatIdAction
-
buildUnchecked
builds CustomerSetVatIdAction without checking for non-null required values- Returns:
- CustomerSetVatIdAction
-
of
factory method for an instance of CustomerSetVatIdActionBuilder- Returns:
- builder
-
of
create builder for CustomerSetVatIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-