Class OrderCreateParams.Credit

java.lang.Object
com.stripe.param.OrderCreateParams.Credit
Enclosing class:
OrderCreateParams

public static class OrderCreateParams.Credit extends Object
State/province as an ISO 3166-2 subdivision code, without country prefix. Example: "NY" or "TX".
  • Method Details

    • builder

      public static OrderCreateParams.Credit.Builder builder()
    • 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.
    • getGiftCard

      public String getGiftCard()
      The gift card to apply to the order.
    • getType

      Required. The type of credit to apply to the order, only gift_card currently supported.