Class PaymentLinkUpdateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.PaymentLinkUpdateParams

public class PaymentLinkUpdateParams extends ApiRequestParams
  • Method Details

    • builder

      public static PaymentLinkUpdateParams.Builder builder()
    • getActive

      public Boolean getActive()
      Whether the payment link's url is active. If false, 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 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.
    • getCustomText

      public PaymentLinkUpdateParams.CustomText getCustomText()
      Display additional text for your customers using custom text.
    • getCustomerCreation

      public PaymentLinkUpdateParams.CustomerCreation getCustomerCreation()
      Configures whether checkout sessions created by this payment link create a Customer.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,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 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 Map<String,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 to metadata. Metadata associated with this Payment Link will automatically be copied to checkout sessions created by this payment link.
    • getPaymentMethodCollection

      public PaymentLinkUpdateParams.PaymentMethodCollection getPaymentMethodCollection()
      Specify whether Checkout should collect a payment method. When set to if_required, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.

      Can only be set in subscription mode.

      If you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring subscriptions with a free trial.

    • getPaymentMethodTypes

      public Object getPaymentMethodTypes()
      The list of payment method types that customers can use. Pass an empty string to enable automatic payment methods that use your payment method settings.
    • getShippingAddressCollection

      public Object getShippingAddressCollection()
      Configuration for collecting the customer's shipping address.