Class: Nfe::Generated::ConsultaDfeDistribuicaoV2::EnableTransportationInvoiceInboundResource
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ConsultaDfeDistribuicaoV2::EnableTransportationInvoiceInboundResource
- Defined in:
- lib/nfe/generated/consulta_dfe_distribuicao_v2/enable_transportation_invoice_inbound_resource.rb,
sig/nfe/generated/consulta_dfe_distribuicao_v2/enable_transportation_invoice_inbound_resource.rbs
Instance Attribute Summary collapse
-
#environment_sefaz ⇒ Object
readonly
Returns the value of attribute environment_sefaz.
-
#start_from_date ⇒ Object
readonly
Returns the value of attribute start_from_date.
-
#start_from_nsu ⇒ Object
readonly
Returns the value of attribute start_from_nsu.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ EnableTransportationInvoiceInboundResource
constructor
A new instance of EnableTransportationInvoiceInboundResource.
Constructor Details
#initialize ⇒ EnableTransportationInvoiceInboundResource
Returns a new instance of EnableTransportationInvoiceInboundResource.
13 |
# File 'sig/nfe/generated/consulta_dfe_distribuicao_v2/enable_transportation_invoice_inbound_resource.rbs', line 13
def initialize: (?environment_sefaz: String, ?start_from_date: String, ?start_from_nsu: Integer) -> void
|
Instance Attribute Details
#environment_sefaz ⇒ Object (readonly)
Returns the value of attribute environment_sefaz
9 10 11 |
# File 'lib/nfe/generated/consulta_dfe_distribuicao_v2/enable_transportation_invoice_inbound_resource.rb', line 9 def environment_sefaz @environment_sefaz end |
#start_from_date ⇒ Object (readonly)
Returns the value of attribute start_from_date
9 10 11 |
# File 'lib/nfe/generated/consulta_dfe_distribuicao_v2/enable_transportation_invoice_inbound_resource.rb', line 9 def start_from_date @start_from_date end |
#start_from_nsu ⇒ Object (readonly)
Returns the value of attribute start_from_nsu
9 10 11 |
# File 'lib/nfe/generated/consulta_dfe_distribuicao_v2/enable_transportation_invoice_inbound_resource.rb', line 9 def start_from_nsu @start_from_nsu end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 17 18 |
# File 'lib/nfe/generated/consulta_dfe_distribuicao_v2/enable_transportation_invoice_inbound_resource.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( environment_sefaz: payload["environmentSEFAZ"], start_from_date: payload["startFromDate"], start_from_nsu: payload["startFromNsu"], ) end |
.new ⇒ instance
12 |
# File 'sig/nfe/generated/consulta_dfe_distribuicao_v2/enable_transportation_invoice_inbound_resource.rbs', line 12
def self.new: (?environment_sefaz: String, ?start_from_date: String, ?start_from_nsu: Integer) -> instance
|