Package com.stripe.param
Class PaymentLinkUpdateParams
- java.lang.Object
-
- com.stripe.net.ApiRequestParams
-
- com.stripe.param.PaymentLinkUpdateParams
-
public class PaymentLinkUpdateParams extends ApiRequestParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaymentLinkUpdateParams.AfterCompletion
static class
PaymentLinkUpdateParams.AutomaticTax
static class
PaymentLinkUpdateParams.BillingAddressCollection
static class
PaymentLinkUpdateParams.Builder
static class
PaymentLinkUpdateParams.LineItem
Add all map key/value pairs to `extraParams` map.static class
PaymentLinkUpdateParams.PaymentMethodType
static class
PaymentLinkUpdateParams.ShippingAddressCollection
The minimum quantity the customer can purchase.-
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentLinkUpdateParams.Builder
builder()
java.lang.Boolean
getActive()
Whether the payment link'surl
is active.PaymentLinkUpdateParams.AfterCompletion
getAfterCompletion()
Behavior after the purchase is complete.java.lang.Boolean
getAllowPromotionCodes()
Enables user redeemable promotion codes.PaymentLinkUpdateParams.AutomaticTax
getAutomaticTax()
Configuration for automatic tax collection.PaymentLinkUpdateParams.BillingAddressCollection
getBillingAddressCollection()
Configuration for collecting the customer's billing address.java.util.List<java.lang.String>
getExpand()
Specifies which fields in the response should be expanded.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.util.List<PaymentLinkUpdateParams.LineItem>
getLineItems()
The line items representing what is being sold.java.util.Map<java.lang.String,java.lang.String>
getMetadata()
Set of key-value pairs that you can attach to an object.java.lang.Object
getPaymentMethodTypes()
The list of payment method types that customers can use.java.lang.Object
getShippingAddressCollection()
Configuration for collecting the customer's shipping address.-
Methods inherited from class com.stripe.net.ApiRequestParams
toMap
-
-
-
-
Method Detail
-
builder
public static PaymentLinkUpdateParams.Builder builder()
-
getActive
public java.lang.Boolean getActive()
Whether the payment link'surl
is active. Iffalse
, customers visiting the URL will be shown a page saying that the link has been deactivated.
-
getAfterCompletion
public PaymentLinkUpdateParams.AfterCompletion getAfterCompletion()
Behavior after the purchase is complete.
-
getAllowPromotionCodes
public java.lang.Boolean getAllowPromotionCodes()
Enables user redeemable promotion codes.
-
getAutomaticTax
public PaymentLinkUpdateParams.AutomaticTax getAutomaticTax()
Configuration for automatic tax collection.
-
getBillingAddressCollection
public PaymentLinkUpdateParams.BillingAddressCollection getBillingAddressCollection()
Configuration for collecting the customer's billing address.
-
getExpand
public java.util.List<java.lang.String> getExpand()
Specifies which fields in the response should be expanded.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getLineItems
public java.util.List<PaymentLinkUpdateParams.LineItem> getLineItems()
The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported.
-
getMetadata
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. Metadata associated with this Payment Link will automatically be copied to checkout sessions created by this payment link.
-
getPaymentMethodTypes
public java.lang.Object getPaymentMethodTypes()
The list of payment method types that customers can use. Onlycard
is supported. Pass an empty string to enable automatic payment methods that use your payment method settings.
-
getShippingAddressCollection
public java.lang.Object getShippingAddressCollection()
Configuration for collecting the customer's shipping address.
-
-