public final class PaymentMethodInfoBuilder extends Base implements Builder<PaymentMethodInfo>
Modifier and Type | Method and Description |
---|---|
PaymentMethodInfo |
build()
Creates a new instance of T with the values of this builder.
|
String |
getMethod() |
LocalizedString |
getName() |
String |
getPaymentInterface() |
PaymentMethodInfoBuilder |
method(String method) |
PaymentMethodInfoBuilder |
name(LocalizedString name) |
static PaymentMethodInfoBuilder |
of() |
PaymentMethodInfoBuilder |
paymentInterface(String paymentInterface) |
public static PaymentMethodInfoBuilder of()
public PaymentMethodInfoBuilder paymentInterface(@Nullable String paymentInterface)
public PaymentMethodInfoBuilder method(@Nullable String method)
public PaymentMethodInfoBuilder name(@Nullable LocalizedString name)
public PaymentMethodInfo build()
Builder
build
in interface Builder<PaymentMethodInfo>
@Nullable public LocalizedString getName()