Class: Stripe::Issuing::Authorization::PendingRequest

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

Defined Under Namespace

Classes: AmountDetails

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?, field_encodings, #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

#amountObject (readonly)

The additional amount Stripe will hold if the authorization is approved, in the card's currency and in the smallest currency unit.



293
294
295
# File 'lib/stripe/resources/issuing/authorization.rb', line 293

def amount
  @amount
end

#amount_detailsObject (readonly)

Detailed breakdown of amount components. These amounts are denominated in currency and in the smallest currency unit.



295
296
297
# File 'lib/stripe/resources/issuing/authorization.rb', line 295

def amount_details
  @amount_details
end

#currencyObject (readonly)

Three-letter ISO currency code, in lowercase. Must be a supported currency.



297
298
299
# File 'lib/stripe/resources/issuing/authorization.rb', line 297

def currency
  @currency
end

#is_amount_controllableObject (readonly)

If set true, you may provide amount to control how much to hold for the authorization.



299
300
301
# File 'lib/stripe/resources/issuing/authorization.rb', line 299

def is_amount_controllable
  @is_amount_controllable
end

#merchant_amountObject (readonly)

The amount the merchant is requesting to be authorized in the merchant_currency. The amount is in the smallest currency unit.



301
302
303
# File 'lib/stripe/resources/issuing/authorization.rb', line 301

def merchant_amount
  @merchant_amount
end

#merchant_currencyObject (readonly)

The local currency the merchant is requesting to authorize.



303
304
305
# File 'lib/stripe/resources/issuing/authorization.rb', line 303

def merchant_currency
  @merchant_currency
end

#network_risk_scoreObject (readonly)

The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.



305
306
307
# File 'lib/stripe/resources/issuing/authorization.rb', line 305

def network_risk_score
  @network_risk_score
end

Class Method Details

.field_remappingsObject



311
312
313
# File 'lib/stripe/resources/issuing/authorization.rb', line 311

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



307
308
309
# File 'lib/stripe/resources/issuing/authorization.rb', line 307

def self.inner_class_types
  @inner_class_types = { amount_details: AmountDetails }
end