Class PaymentSetAnonymousIdActionBuilder
java.lang.Object
com.commercetools.api.models.payment.PaymentSetAnonymousIdActionBuilder
- All Implemented Interfaces:
Builder<PaymentSetAnonymousIdAction>
public class PaymentSetAnonymousIdActionBuilder
extends Object
implements Builder<PaymentSetAnonymousIdAction>
PaymentSetAnonymousIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetAnonymousIdAction paymentSetAnonymousIdAction = PaymentSetAnonymousIdAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanonymousId
(String anonymousId) Value to set.build()
builds PaymentSetAnonymousIdAction with checking for non-null required valuesbuilds PaymentSetAnonymousIdAction without checking for non-null required valuesValue to set.of()
factory method for an instance of PaymentSetAnonymousIdActionBuilderof
(PaymentSetAnonymousIdAction template) create builder for PaymentSetAnonymousIdAction instance
-
Constructor Details
-
PaymentSetAnonymousIdActionBuilder
public PaymentSetAnonymousIdActionBuilder()
-
-
Method Details
-
anonymousId
Value to set. If empty, any existing value will be removed.
- Parameters:
anonymousId
- value to be set- Returns:
- Builder
-
getAnonymousId
Value to set. If empty, any existing value will be removed.
- Returns:
- anonymousId
-
build
builds PaymentSetAnonymousIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentSetAnonymousIdAction>
- Returns:
- PaymentSetAnonymousIdAction
-
buildUnchecked
builds PaymentSetAnonymousIdAction without checking for non-null required values- Returns:
- PaymentSetAnonymousIdAction
-
of
factory method for an instance of PaymentSetAnonymousIdActionBuilder- Returns:
- builder
-
of
create builder for PaymentSetAnonymousIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-