Class: Stripe::Mandate::CustomerAcceptance

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/mandate.rb

Defined Under Namespace

Classes: Offline, Online

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

#accepted_atObject (readonly)

The time that the customer accepts the mandate.



38
39
40
# File 'lib/stripe/resources/mandate.rb', line 38

def accepted_at
  @accepted_at
end

#offlineObject (readonly)

Attribute for field offline



40
41
42
# File 'lib/stripe/resources/mandate.rb', line 40

def offline
  @offline
end

#onlineObject (readonly)

Attribute for field online



42
43
44
# File 'lib/stripe/resources/mandate.rb', line 42

def online
  @online
end

#typeObject (readonly)

The mandate includes the type of customer acceptance information, such as: ‘online` or `offline`.



44
45
46
# File 'lib/stripe/resources/mandate.rb', line 44

def type
  @type
end

Class Method Details

.field_remappingsObject



50
51
52
# File 'lib/stripe/resources/mandate.rb', line 50

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



46
47
48
# File 'lib/stripe/resources/mandate.rb', line 46

def self.inner_class_types
  @inner_class_types = { offline: Offline, online: Online }
end