Class: NoyoFulfillment::MemberTransaction

Inherits:
ApiResource show all
Includes:
NoyoFulfillment::Mixins::NestedUnder
Defined in:
lib/noyo_fulfillment/models/member_transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from NoyoFulfillment::Mixins::NestedUnder

included

Methods inherited from ApiResource

all, authenticate, #create, #create_hash, #create_url, find, get_body, handle_unauthenticated, headers, #initialize, perform_request_authenticated, resource_path_name, resource_url, #resource_url, single_resource_url, #single_resource_url

Methods included from NoyoApi::Client::UserAgent

included

Methods inherited from BaseModel

#==, #attributes, class_name, #excluded_attributes, #initialize, #inspect, #synced_attributes, #to_h, #update_attrs

Constructor Details

This class inherits a constructor from NoyoFulfillment::ApiResource

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def body
  @body
end

#carrier_idObject

Returns the value of attribute carrier_id.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def carrier_id
  @carrier_id
end

#createdObject

Returns the value of attribute created.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def created
  @created
end

#deletedObject

Returns the value of attribute deleted.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def deleted
  @deleted
end

#employee_idObject

Returns the value of attribute employee_id.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def employee_id
  @employee_id
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def id
  @id
end

#lines_of_coverageObject

Returns the value of attribute lines_of_coverage.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def lines_of_coverage
  @lines_of_coverage
end

#member_request_idObject

Returns the value of attribute member_request_id.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def member_request_id
  @member_request_id
end

#modifiedObject

Returns the value of attribute modified.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def modified
  @modified
end

#statusObject

Returns the value of attribute status.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def status
  @status
end

#transaction_typeObject

Returns the value of attribute transaction_type.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def transaction_type
  @transaction_type
end

#versionObject

Returns the value of attribute version.



6
7
8
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 6

def version
  @version
end

Instance Method Details

#member_requestObject Also known as: request



22
23
24
# File 'lib/noyo_fulfillment/models/member_transaction.rb', line 22

def member_request
  @member_request ||= MemberRequest.find(member_request_id)
end