Class GrantedTokenCreateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.sharedpayment.GrantedTokenCreateParams

public class GrantedTokenCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static GrantedTokenCreateParams.Builder builder()
    • getCustomer

      public String getCustomer()
      The Customer that the SharedPaymentGrantedToken belongs to. Should match the Customer that the PaymentMethod is attached to if any.
    • 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.
    • getPaymentMethod

      public String getPaymentMethod()
      Required. The PaymentMethod that is going to be shared by the SharedPaymentGrantedToken.
    • getSharedMetadata

      public Object getSharedMetadata()
      Set of key-value pairs that you can attach to the SharedPaymentGrantedToken.
    • getUsageLimits

      public GrantedTokenCreateParams.UsageLimits getUsageLimits()
      Required. Limits on how this SharedPaymentGrantedToken can be used.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object