class Beaver::PaymentMethodsVerifyBankDepositsRequest

PaymentMethodsVerifyBankDepositsRequest Model.

Attributes

microdeposits[RW]

TODO: Write general description for this method @return [List of Integer]

Public Class Methods

from_hash(hash) click to toggle source

Creates an instance of the object from a hash.

# File lib/beaver/models/payment_methods_verify_bank_deposits_request.rb, line 25
def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
  microdeposits = hash['microdeposits']

  # Create object from extracted values.
  PaymentMethodsVerifyBankDepositsRequest.new(microdeposits)
end
names() click to toggle source

A mapping from model property names to API property names.

# File lib/beaver/models/payment_methods_verify_bank_deposits_request.rb, line 14
def self.names
  @_hash = {} if @_hash.nil?
  @_hash['microdeposits'] = 'microdeposits'
  @_hash
end
new(microdeposits = nil) click to toggle source
# File lib/beaver/models/payment_methods_verify_bank_deposits_request.rb, line 20
def initialize(microdeposits = nil)
  @microdeposits = microdeposits
end