public class CreatePaymentTransactionDataBuilder
extends java.lang.Object
CreatePaymentTransactionData
object.
Created by mgatz on 7/10/16.Modifier and Type | Method and Description |
---|---|
CreatePaymentTransactionDataImpl |
build()
Create a new instance of
CreatePaymentTransactionData using the provided data. |
static CreatePaymentTransactionDataBuilder |
of(io.sphere.sdk.client.SphereClient client,
java.lang.String paymentRef) |
CreatePaymentTransactionDataBuilder |
setConfigValue(java.lang.String name,
java.lang.String value)
Set a configuration value passed to the handling method.
|
CreatePaymentTransactionDataBuilder |
setTransactionType(io.sphere.sdk.payments.TransactionType type) |
public static CreatePaymentTransactionDataBuilder of(io.sphere.sdk.client.SphereClient client, java.lang.String paymentRef)
public CreatePaymentTransactionDataBuilder setTransactionType(io.sphere.sdk.payments.TransactionType type)
public CreatePaymentTransactionDataBuilder setConfigValue(java.lang.String name, java.lang.String value)
name
- the configuration namevalue
- the valuepublic CreatePaymentTransactionDataImpl build()
CreatePaymentTransactionData
using the provided data.