Class: Io::Flow::V0::Models::AuthorizationDeclineCode

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_commerce/flow_api_v0_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ AuthorizationDeclineCode

Returns a new instance of AuthorizationDeclineCode.



5759
5760
5761
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5759

def initialize(value)
  @value = HttpClient::Preconditions.assert_class('value', value, String)
end

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



5757
5758
5759
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5757

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



5839
5840
5841
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5839

def to_hash
  value
end