Class: Stripe::V2::Core::Account::Configuration::Merchant::Capabilities::GbBankTransferPayments

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/v2/core/account.rb

Defined Under Namespace

Classes: Protections, StatusDetail

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

#protectionsObject (readonly)

Protections applied to this capability, keyed by protection type (e.g. "psp_migration").



4330
4331
4332
# File 'lib/stripe/resources/v2/core/account.rb', line 4330

def protections
  @protections
end

#statusObject (readonly)

The status of the Capability.



4332
4333
4334
# File 'lib/stripe/resources/v2/core/account.rb', line 4332

def status
  @status
end

#status_detailsObject (readonly)

Additional details about the capability's status. This value is empty when status is active.



4334
4335
4336
# File 'lib/stripe/resources/v2/core/account.rb', line 4334

def status_details
  @status_details
end

Class Method Details

.field_encodingsObject



4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
# File 'lib/stripe/resources/v2/core/account.rb', line 4344

def self.field_encodings
  @field_encodings = {
    protections: {
      kind: :object,
      fields: {
        psp_migration: {
          kind: :object,
          fields: { expires_at: :int64_string, requested_at: :int64_string },
        },
      },
    },
  }
end

.field_remappingsObject



4340
4341
4342
# File 'lib/stripe/resources/v2/core/account.rb', line 4340

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



4336
4337
4338
# File 'lib/stripe/resources/v2/core/account.rb', line 4336

def self.inner_class_types
  @inner_class_types = { protections: Protections, status_details: StatusDetail }
end