Class: Io::Flow::V0::Models::AvsCode

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) ⇒ AvsCode

Returns a new instance of AvsCode.



5962
5963
5964
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5962

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

Instance Attribute Details

#value ⇒ Object (readonly)

Returns the value of attribute value.



5960
5961
5962
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5960

def value
  @value
end

Instance Method Details

#to_hash ⇒ Object



6007
6008
6009
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6007

def to_hash
  value
end