Class: GenesisRuby::Api::Requests::Base::NonFinancial::BillingApi::Base
- Inherits:
-
Graphql
- Object
- GenesisRuby::Api::Request
- Versioned
- Graphql
- GenesisRuby::Api::Requests::Base::NonFinancial::BillingApi::Base
- Includes:
- Mixins::Requests::NonFinancial::BillingApi::SortAttributes, Mixins::Requests::NonFinancial::DateAttributes, Mixins::Requests::NonFinancial::PagingAttributes
- Defined in:
- lib/genesis_ruby/api/requests/base/non_financial/billing_api/base.rb
Overview
Base class for Billing API GraphQL requests
Direct Known Subclasses
NonFinancial::BillingApi::Statement, NonFinancial::BillingApi::Transactions
Constant Summary
Constants inherited from GenesisRuby::Api::Request
GenesisRuby::Api::Request::AUTH_TYPE_BASIC, GenesisRuby::Api::Request::AUTH_TYPE_TOKEN, GenesisRuby::Api::Request::METHOD_DELETE, GenesisRuby::Api::Request::METHOD_GET, GenesisRuby::Api::Request::METHOD_PATCH, GenesisRuby::Api::Request::METHOD_POST, GenesisRuby::Api::Request::METHOD_PUT, GenesisRuby::Api::Request::PORT_HTTPS, GenesisRuby::Api::Request::PROTOCOL_HTTPS
Instance Attribute Summary
Attributes included from Mixins::Requests::NonFinancial::PagingAttributes
Attributes included from Mixins::Requests::NonFinancial::BillingApi::SortAttributes
#sort_by_direction, #sort_by_field
Attributes inherited from Versioned
Attributes inherited from GenesisRuby::Api::Request
Instance Method Summary collapse
-
#billing_statement ⇒ Object
List of billing statement names.
-
#billing_statement=(value) ⇒ Object
List of billing statement names.
Methods included from Mixins::Requests::NonFinancial::DateAttributes
#end_date, #end_date=, #end_date_from, #end_date_from=, #end_date_to, #end_date_to=, #start_date, #start_date=, #start_date_from, #start_date_from=, #start_date_to, #start_date_to=
Methods inherited from Graphql
Methods inherited from Versioned
Methods inherited from GenesisRuby::Api::Request
Constructor Details
This class inherits a constructor from GenesisRuby::Api::Requests::Base::Graphql
Instance Method Details
#billing_statement ⇒ Object
List of billing statement names
20 21 22 |
# File 'lib/genesis_ruby/api/requests/base/non_financial/billing_api/base.rb', line 20 def billing_statement @billing_statement || [] end |
#billing_statement=(value) ⇒ Object
List of billing statement names
25 26 27 |
# File 'lib/genesis_ruby/api/requests/base/non_financial/billing_api/base.rb', line 25 def billing_statement=(value) parse_array_of_strings attribute: __method__, value: value, allow_empty: true end |