struct Facebook::Proto::OracleTransaction
- Facebook::Proto::OracleTransaction
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/OracleTransaction.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :ad_account_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :amount, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :billing_period, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :cdn_download_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :download_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :due_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :entity, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :invoice_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :invoice_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :invoice_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :liability_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :payment_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :payment_term, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, ad_account_ids : Array(String) | Nil = nil, amount : String | Nil = nil, billing_period : String | Nil = nil, cdn_download_uri : String | Nil = nil, currency : String | Nil = nil, download_uri : String | Nil = nil, due_date : Datetime | Nil = nil, entity : String | Nil = nil, invoice_date : Datetime | Nil = nil, invoice_id : String | Nil = nil, invoice_type : String | Nil = nil, liability_type : String | Nil = nil, payment_status : String | Nil = nil, payment_term : String | Nil = nil, type : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #ad_account_ids : Array(String) | Nil
- #ad_account_ids=(ad_account_ids : Array(String) | Nil)
- #ad_account_ids=(ad_account_ids : Array(String) | Nil)
- #amount : String | Nil
- #amount=(amount : String | Nil)
- #billing_period : String | Nil
- #billing_period=(billing_period : String | Nil)
- #cdn_download_uri : String | Nil
- #cdn_download_uri=(cdn_download_uri : String | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #download_uri : String | Nil
- #download_uri=(download_uri : String | Nil)
- #due_date : Datetime | Nil
- #due_date=(due_date : Datetime | Nil)
- #entity : String | Nil
- #entity=(entity : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #invoice_date : Datetime | Nil
- #invoice_date=(invoice_date : Datetime | Nil)
- #invoice_id : String | Nil
- #invoice_id=(invoice_id : String | Nil)
- #invoice_type : String | Nil
- #invoice_type=(invoice_type : String | Nil)
- #liability_type : String | Nil
- #liability_type=(liability_type : String | Nil)
- #payment_status : String | Nil
- #payment_status=(payment_status : String | Nil)
- #payment_term : String | Nil
- #payment_term=(payment_term : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #type : String | Nil
- #type=(type : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, ad_account_ids : Array(String) | Nil = nil, amount : String | Nil = nil, billing_period : String | Nil = nil, cdn_download_uri : String | Nil = nil, currency : String | Nil = nil, download_uri : String | Nil = nil, due_date : Datetime | Nil = nil, entity : String | Nil = nil, invoice_date : Datetime | Nil = nil, invoice_id : String | Nil = nil, invoice_type : String | Nil = nil, liability_type : String | Nil = nil, payment_status : String | Nil = nil, payment_term : String | Nil = nil, type : String | Nil = nil)
#