Class ApiRequestParams

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ApiRequestParams.EnumParam
      Interface implemented by all enum parameter to get the actual string value that Stripe API expects.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EXTRA_PARAMS_KEY
      Param key for an `extraParams` map.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> toMap()
      Convert `this` api request params to an untyped map.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EXTRA_PARAMS_KEY

        public static final java.lang.String EXTRA_PARAMS_KEY
        Param key for an `extraParams` map. Any param/sub-param specifying a field intended to support extra params from users should have the annotation @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY). Logic to handle this is in ApiRequestParamsConverter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ApiRequestParams

        public ApiRequestParams()
    • Method Detail

      • toMap

        public java.util.Map<java.lang.String,​java.lang.Object> toMap()
        Convert `this` api request params to an untyped map. The conversion is specific to api request params object. Please see documentation in ApiRequestParamsConverter.convert(ApiRequestParams).