Class: Stripe::Issuing::Authorization::Fleet

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

Defined Under Namespace

Classes: CardholderPromptData, ReportedBreakdown

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

#cardholder_prompt_dataObject (readonly)

Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry.



117
118
119
# File 'lib/stripe/resources/issuing/authorization.rb', line 117

def cardholder_prompt_data
  @cardholder_prompt_data
end

#purchase_typeObject (readonly)

The type of purchase.



119
120
121
# File 'lib/stripe/resources/issuing/authorization.rb', line 119

def purchase_type
  @purchase_type
end

#reported_breakdownObject (readonly)

More information about the total amount. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed. This information is not guaranteed to be accurate as some merchants may provide unreliable data.



121
122
123
# File 'lib/stripe/resources/issuing/authorization.rb', line 121

def reported_breakdown
  @reported_breakdown
end

#service_typeObject (readonly)

The type of fuel service.



123
124
125
# File 'lib/stripe/resources/issuing/authorization.rb', line 123

def service_type
  @service_type
end

Class Method Details

.field_remappingsObject



132
133
134
# File 'lib/stripe/resources/issuing/authorization.rb', line 132

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



125
126
127
128
129
130
# File 'lib/stripe/resources/issuing/authorization.rb', line 125

def self.inner_class_types
  @inner_class_types = {
    cardholder_prompt_data: CardholderPromptData,
    reported_breakdown: ReportedBreakdown,
  }
end