Package com.stripe.param
Class PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder
java.lang.Object
com.stripe.param.PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder
- Enclosing class:
- PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails
public static class PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setBillingDetails
(PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.BillingDetails billingDetails) The billing details associated with the method of payment.Information about the custom (user-defined) payment method used to make this payment.setPaymentMethod
(String paymentMethod) ID of the Stripe Payment Method used to make this payment.The type of the payment method details.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingDetails
public PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder setBillingDetails(PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.BillingDetails billingDetails) The billing details associated with the method of payment. -
setCustom
public PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder setCustom(PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Custom custom) Information about the custom (user-defined) payment method used to make this payment. -
putExtraParam
public PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.extraParams
for the field documentation. -
putAllExtraParam
public PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.extraParams
for the field documentation. -
setPaymentMethod
public PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder setPaymentMethod(String paymentMethod) ID of the Stripe Payment Method used to make this payment. -
setType
public PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Builder setType(PaymentRecordReportPaymentAttemptParams.PaymentMethodDetails.Type type) The type of the payment method details. An additional hash is included on the payment_method_details with a name matching this value. It contains additional information specific to the type.
-