Package com.stripe.param.radar
Class PaymentEvaluationCreateParams.PaymentDetails.Builder
java.lang.Object
com.stripe.param.radar.PaymentEvaluationCreateParams.PaymentDetails.Builder
- Enclosing class:
- PaymentEvaluationCreateParams.PaymentDetails
-
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.Required. The intended amount to collect with this payment.setCurrency(String currency) Required. Three-letter ISO currency code, in lowercase.setDescription(String description) An arbitrary string attached to the object.setMoneyMovementDetails(PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails moneyMovementDetails) Details about the payment's customer presence and type.setPaymentMethodDetails(PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails paymentMethodDetails) Required. Details about the payment method to use for the payment.Shipping details for the payment evaluation.setStatementDescriptor(String statementDescriptor) Payment statement descriptor.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. The intended amount to collect with this payment. A positive integer representing how much to charge in the smallest currency unit (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency). -
setCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setDescription
An arbitrary string attached to the object. Often useful for displaying to users. -
putExtraParam
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. SeePaymentEvaluationCreateParams.PaymentDetails.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentEvaluationCreateParams.PaymentDetails.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. SeePaymentEvaluationCreateParams.PaymentDetails.extraParamsfor the field documentation. -
setMoneyMovementDetails
public PaymentEvaluationCreateParams.PaymentDetails.Builder setMoneyMovementDetails(PaymentEvaluationCreateParams.PaymentDetails.MoneyMovementDetails moneyMovementDetails) Details about the payment's customer presence and type. -
setPaymentMethodDetails
public PaymentEvaluationCreateParams.PaymentDetails.Builder setPaymentMethodDetails(PaymentEvaluationCreateParams.PaymentDetails.PaymentMethodDetails paymentMethodDetails) Required. Details about the payment method to use for the payment. -
setShippingDetails
public PaymentEvaluationCreateParams.PaymentDetails.Builder setShippingDetails(PaymentEvaluationCreateParams.PaymentDetails.ShippingDetails shippingDetails) Shipping details for the payment evaluation. -
setStatementDescriptor
public PaymentEvaluationCreateParams.PaymentDetails.Builder setStatementDescriptor(String statementDescriptor) Payment statement descriptor.
-