Class: Moov::Models::Errors::UpsertUnderwritingError

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/errors/upsertunderwritingerror.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(geographic_reach: nil, business_presence: nil, pending_litigation: nil, volume_share_by_customer_type: nil, collect_funds: nil, money_transfer: nil, send_funds: nil, average_monthly_transaction_volume: nil, error: nil, average_transaction_size: nil, max_transaction_size: nil, volume_by_customer_type: nil, card_volume_distribution: nil, fulfillment: nil, raw_response: nil) ⇒ UpsertUnderwritingError

Returns a new instance of UpsertUnderwritingError.



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/moov/models/errors/upsertunderwritingerror.rb', line 48

def initialize(geographic_reach: nil, business_presence: nil, pending_litigation: nil, volume_share_by_customer_type: nil, collect_funds: nil, money_transfer: nil, send_funds: nil, average_monthly_transaction_volume: nil, error: nil, average_transaction_size: nil, max_transaction_size: nil, volume_by_customer_type: nil, card_volume_distribution: nil, fulfillment: nil, raw_response: nil)
  @geographic_reach = geographic_reach
  @business_presence = business_presence
  @pending_litigation = pending_litigation
  @volume_share_by_customer_type = volume_share_by_customer_type
  @collect_funds = collect_funds
  @money_transfer = money_transfer
  @send_funds = send_funds
  @average_monthly_transaction_volume = average_monthly_transaction_volume
  @error = error
  @average_transaction_size = average_transaction_size
  @max_transaction_size = max_transaction_size
  @volume_by_customer_type = volume_by_customer_type
  @card_volume_distribution = card_volume_distribution
  @fulfillment = fulfillment
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/moov/models/errors/upsertunderwritingerror.rb', line 67

def ==(other)
  return false unless other.is_a? self.class
  return false unless @geographic_reach == other.geographic_reach
  return false unless @business_presence == other.business_presence
  return false unless @pending_litigation == other.pending_litigation
  return false unless @volume_share_by_customer_type == other.volume_share_by_customer_type
  return false unless @collect_funds == other.collect_funds
  return false unless @money_transfer == other.money_transfer
  return false unless @send_funds == other.send_funds
  return false unless @average_monthly_transaction_volume == other.average_monthly_transaction_volume
  return false unless @error == other.error
  return false unless @average_transaction_size == other.average_transaction_size
  return false unless @max_transaction_size == other.max_transaction_size
  return false unless @volume_by_customer_type == other.volume_by_customer_type
  return false unless @card_volume_distribution == other.card_volume_distribution
  return false unless @fulfillment == other.fulfillment
  return false unless @raw_response == other.raw_response
  true
end