Class PaymentLinkCreateParams

    • Method Detail

      • getAllowPromotionCodes

        public java.lang.Boolean getAllowPromotionCodes()
        Enables user redeemable promotion codes.
      • getApplicationFeeAmount

        public java.lang.Long getApplicationFeeAmount()
        The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. Can only be applied when there are no line items with recurring prices.
      • getApplicationFeePercent

        public java.math.BigDecimal getApplicationFeePercent()
        A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field.
      • 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<PaymentLinkCreateParams.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.
      • getOnBehalfOf

        public java.lang.String getOnBehalfOf()
        The account on behalf of which to charge.
      • getPhoneNumberCollection

        public PaymentLinkCreateParams.PhoneNumberCollection getPhoneNumberCollection()
        Controls phone number collection settings during checkout.

        We recommend that you review your privacy policy and check with your legal contacts.

      • getSubscriptionData

        public PaymentLinkCreateParams.SubscriptionData getSubscriptionData()
        When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use subscription_data.
      • getTransferData

        public PaymentLinkCreateParams.TransferData getTransferData()
        The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to.