Class PaymentLinkUpdateParams

    • Method Detail

      • getActive

        public java.lang.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.
      • getAllowPromotionCodes

        public java.lang.Boolean getAllowPromotionCodes()
        Enables user redeemable promotion codes.
      • 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 to metadata. 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. Only card 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.