Class: Stripe::Issuing::Authorization::CryptoTransaction::CryptoTransactionFailed

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

Defined Under Namespace

Classes: Fee

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 crypto amount for the failed transaction.



102
103
104
# File 'lib/stripe/resources/issuing/authorization.rb', line 102

def amount
  @amount
end

#amount_mcc_upchargedObject (readonly)

The upcharged MCC amount, if one was applied.



104
105
106
# File 'lib/stripe/resources/issuing/authorization.rb', line 104

def amount_mcc_upcharged
  @amount_mcc_upcharged
end

#chainObject (readonly)

The blockchain network for the failed transaction.



106
107
108
# File 'lib/stripe/resources/issuing/authorization.rb', line 106

def chain
  @chain
end

#currencyObject (readonly)

The currency of the crypto transaction amount.



108
109
110
# File 'lib/stripe/resources/issuing/authorization.rb', line 108

def currency
  @currency
end

#failed_atObject (readonly)

When the transaction failed.



110
111
112
# File 'lib/stripe/resources/issuing/authorization.rb', line 110

def failed_at
  @failed_at
end

#failure_reasonObject (readonly)

The reason the transaction failed.



112
113
114
# File 'lib/stripe/resources/issuing/authorization.rb', line 112

def failure_reason
  @failure_reason
end

#feesObject (readonly)

Fees associated with the transaction.



114
115
116
# File 'lib/stripe/resources/issuing/authorization.rb', line 114

def fees
  @fees
end

#from_addressObject (readonly)

The source wallet address for the attempted transaction.



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

def from_address
  @from_address
end

#memoObject (readonly)

Memo metadata attached to the transaction, if present.



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

def memo
  @memo
end

#to_addressObject (readonly)

The destination wallet address for the attempted transaction when one exists.



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

def to_address
  @to_address
end

#transaction_hashObject (readonly)

The blockchain transaction hash when one exists.



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

def transaction_hash
  @transaction_hash
end

Class Method Details

.field_remappingsObject



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

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



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

def self.inner_class_types
  @inner_class_types = { fees: Fee }
end