Class: Stripe::PaymentIntent::NextAction::WechatPayRedirectToAndroidApp

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#app_idObject (readonly)

app_id is the APP ID registered on WeChat open platform



1086
1087
1088
# File 'lib/stripe/resources/payment_intent.rb', line 1086

def app_id
  @app_id
end

#nonce_strObject (readonly)

nonce_str is a random string



1088
1089
1090
# File 'lib/stripe/resources/payment_intent.rb', line 1088

def nonce_str
  @nonce_str
end

#packageObject (readonly)

package is static value



1090
1091
1092
# File 'lib/stripe/resources/payment_intent.rb', line 1090

def package
  @package
end

#partner_idObject (readonly)

an unique merchant ID assigned by WeChat Pay



1092
1093
1094
# File 'lib/stripe/resources/payment_intent.rb', line 1092

def partner_id
  @partner_id
end

#prepay_idObject (readonly)

an unique trading ID assigned by WeChat Pay



1094
1095
1096
# File 'lib/stripe/resources/payment_intent.rb', line 1094

def prepay_id
  @prepay_id
end

#signObject (readonly)

A signature



1096
1097
1098
# File 'lib/stripe/resources/payment_intent.rb', line 1096

def sign
  @sign
end

#timestampObject (readonly)

Specifies the current time in epoch format



1098
1099
1100
# File 'lib/stripe/resources/payment_intent.rb', line 1098

def timestamp
  @timestamp
end

Class Method Details

.field_remappingsObject



1104
1105
1106
# File 'lib/stripe/resources/payment_intent.rb', line 1104

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



1100
1101
1102
# File 'lib/stripe/resources/payment_intent.rb', line 1100

def self.inner_class_types
  @inner_class_types = {}
end