CreatePaymentData, PaymentInteractionDatapublic class CreatePaymentDataImpl extends PaymentInteractionDataBase implements CreatePaymentData
| Constructor | Description |
|---|---|
CreatePaymentDataImpl(io.sphere.sdk.client.SphereClient client,
io.sphere.sdk.payments.PaymentMethodInfo paymentMethodInfo,
io.sphere.sdk.carts.Cart c,
java.lang.String reference,
java.util.Map<java.lang.String,java.lang.String> config,
io.sphere.sdk.customers.Customer customer,
HttpRequestInfo requestInfo) |
| Modifier and Type | Method | Description |
|---|---|---|
io.sphere.sdk.carts.Cart |
getCart() |
|
java.util.Optional<io.sphere.sdk.customers.Customer> |
getCustomer() |
|
java.util.Optional<HttpRequestInfo> |
getHttpRequestInfo() |
|
io.sphere.sdk.payments.PaymentMethodInfo |
getPaymentMethodinInfo() |
|
java.lang.String |
getReference() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigByName, getSphereClientgetConfigByName, getSphereClientpublic CreatePaymentDataImpl(io.sphere.sdk.client.SphereClient client,
io.sphere.sdk.payments.PaymentMethodInfo paymentMethodInfo,
io.sphere.sdk.carts.Cart c,
java.lang.String reference,
java.util.Map<java.lang.String,java.lang.String> config,
@Nullable
io.sphere.sdk.customers.Customer customer,
@Nullable
HttpRequestInfo requestInfo)
public io.sphere.sdk.carts.Cart getCart()
getCart in interface CreatePaymentDatapublic java.lang.String getReference()
getReference in interface CreatePaymentDatapublic java.util.Optional<io.sphere.sdk.customers.Customer> getCustomer()
getCustomer in interface CreatePaymentDatapublic java.util.Optional<HttpRequestInfo> getHttpRequestInfo()
getHttpRequestInfo in interface CreatePaymentDatapublic io.sphere.sdk.payments.PaymentMethodInfo getPaymentMethodinInfo()
getPaymentMethodinInfo in interface CreatePaymentDataPaymentMethodInfo the Payment object should be created for