class

Stripe::PaymentIntentNextActionWechatPayRedirectToAndroidApp

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

MAX_LENGTH_FOR_APP_ID = 5000
MAX_LENGTH_FOR_NONCE_STR = 5000
MAX_LENGTH_FOR_PACKAGE = 5000
MAX_LENGTH_FOR_PARTNER_ID = 5000
MAX_LENGTH_FOR_PREPAY_ID = 5000
MAX_LENGTH_FOR_SIGN = 5000
MAX_LENGTH_FOR_TIMESTAMP = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, app_id : String | Nil = nil, nonce_str : String | Nil = nil, package : String | Nil = nil, partner_id : String | Nil = nil, prepay_id : String | Nil = nil, sign : String | Nil = nil, timestamp : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

app_id

app_id is the APP ID registered on WeChat open platform

Source
app_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] app_id Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
nonce_str

nonce_str is a random string

Source
nonce_str=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] nonce_str Object to be assigned

Source
package

package is static value

Source
package=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] package Object to be assigned

Source
partner_id

an unique merchant ID assigned by WeChat Pay

Source
partner_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] partner_id Object to be assigned

Source
prepay_id

an unique trading ID assigned by WeChat Pay

Source
prepay_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] prepay_id Object to be assigned

Source
sign

A signature

Source
sign=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] sign Object to be assigned

Source
timestamp

Specifies the current time in epoch format

Source
timestamp=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] timestamp Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source