Package com.commercetools.api.models.me
Class MyPaymentSetMethodInfoNameActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyPaymentSetMethodInfoNameActionBuilder
- All Implemented Interfaces:
Builder<MyPaymentSetMethodInfoNameAction>
public class MyPaymentSetMethodInfoNameActionBuilder
extends Object
implements Builder<MyPaymentSetMethodInfoNameAction>
MyPaymentSetMethodInfoNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyPaymentSetMethodInfoNameAction myPaymentSetMethodInfoNameAction = MyPaymentSetMethodInfoNameAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds MyPaymentSetMethodInfoNameAction with checking for non-null required valuesbuilds MyPaymentSetMethodInfoNameAction without checking for non-null required valuesgetName()Value to set.name(LocalizedString name) Value to set.Value to set.of()factory method for an instance of MyPaymentSetMethodInfoNameActionBuilderof(MyPaymentSetMethodInfoNameAction template) create builder for MyPaymentSetMethodInfoNameAction instanceValue to set.
-
Constructor Details
-
MyPaymentSetMethodInfoNameActionBuilder
public MyPaymentSetMethodInfoNameActionBuilder()
-
-
Method Details
-
name
public MyPaymentSetMethodInfoNameActionBuilder name(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder- function to build the name value- Returns:
- Builder
-
withName
public MyPaymentSetMethodInfoNameActionBuilder withName(Function<LocalizedStringBuilder, LocalizedString> builder) Value to set. If empty, any existing value will be removed.
- Parameters:
builder- function to build the name value- Returns:
- Builder
-
name
Value to set. If empty, any existing value will be removed.
- Parameters:
name- value to be set- Returns:
- Builder
-
getName
Value to set. If empty, any existing value will be removed.
- Returns:
- name
-
build
builds MyPaymentSetMethodInfoNameAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<MyPaymentSetMethodInfoNameAction>- Returns:
- MyPaymentSetMethodInfoNameAction
-
buildUnchecked
builds MyPaymentSetMethodInfoNameAction without checking for non-null required values- Returns:
- MyPaymentSetMethodInfoNameAction
-
of
factory method for an instance of MyPaymentSetMethodInfoNameActionBuilder- Returns:
- builder
-
of
create builder for MyPaymentSetMethodInfoNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-