Class: Nfe::Generated::Nfeio::OutPutResponse
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::Nfeio::OutPutResponse
- Defined in:
- lib/nfe/generated/nfeio/out_put_response.rb,
sig/nfe/generated/nfeio/out_put_response.rbs
Instance Attribute Summary collapse
-
#out_put_link ⇒ Object
readonly
Returns the value of attribute out_put_link.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ OutPutResponse
constructor
A new instance of OutPutResponse.
Constructor Details
#initialize ⇒ OutPutResponse
Returns a new instance of OutPutResponse.
13 |
# File 'sig/nfe/generated/nfeio/out_put_response.rbs', line 13
def initialize: (?out_put_link: OutPutLinkResponse, ?status: String?, ?type: String?) -> void
|
Instance Attribute Details
#out_put_link ⇒ Object (readonly)
Returns the value of attribute out_put_link
9 10 11 |
# File 'lib/nfe/generated/nfeio/out_put_response.rb', line 9 def out_put_link @out_put_link end |
#status ⇒ Object (readonly)
Returns the value of attribute status
9 10 11 |
# File 'lib/nfe/generated/nfeio/out_put_response.rb', line 9 def status @status end |
#type ⇒ Object (readonly)
Returns the value of attribute type
9 10 11 |
# File 'lib/nfe/generated/nfeio/out_put_response.rb', line 9 def type @type end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 17 18 |
# File 'lib/nfe/generated/nfeio/out_put_response.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( out_put_link: OutPutLinkResponse.from_api(payload["outPutLink"]), status: payload["status"], type: payload["type"], ) end |
.new ⇒ instance
12 |
# File 'sig/nfe/generated/nfeio/out_put_response.rbs', line 12
def self.new: (?out_put_link: OutPutLinkResponse, ?status: String?, ?type: String?) -> instance
|