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

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, 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



614
615
616
# File 'lib/stripe/resources/payment_intent.rb', line 614

def app_id
  @app_id
end

#nonce_strObject (readonly)

nonce_str is a random string



616
617
618
# File 'lib/stripe/resources/payment_intent.rb', line 616

def nonce_str
  @nonce_str
end

#packageObject (readonly)

package is static value



618
619
620
# File 'lib/stripe/resources/payment_intent.rb', line 618

def package
  @package
end

#partner_idObject (readonly)

an unique merchant ID assigned by WeChat Pay



620
621
622
# File 'lib/stripe/resources/payment_intent.rb', line 620

def partner_id
  @partner_id
end

#prepay_idObject (readonly)

an unique trading ID assigned by WeChat Pay



622
623
624
# File 'lib/stripe/resources/payment_intent.rb', line 622

def prepay_id
  @prepay_id
end

#signObject (readonly)

A signature



624
625
626
# File 'lib/stripe/resources/payment_intent.rb', line 624

def sign
  @sign
end

#timestampObject (readonly)

Specifies the current time in epoch format



626
627
628
# File 'lib/stripe/resources/payment_intent.rb', line 626

def timestamp
  @timestamp
end