struct Facebook::Proto::OracleTransaction

Included Modules

Defined in:

cli/proto/facebook/OracleTransaction.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

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) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def ad_account_ids : Array(String) | Nil #

def ad_account_ids=(ad_account_ids : Array(String) | Nil) #

def ad_account_ids=(ad_account_ids : Array(String) | Nil) #

def amount : String | Nil #

def amount=(amount : String | Nil) #

def billing_period : String | Nil #

def billing_period=(billing_period : String | Nil) #

def cdn_download_uri : String | Nil #

def cdn_download_uri=(cdn_download_uri : String | Nil) #

def currency : String | Nil #

def currency=(currency : String | Nil) #

def download_uri : String | Nil #

def download_uri=(download_uri : String | Nil) #

def due_date : Datetime | Nil #

def due_date=(due_date : Datetime | Nil) #

def entity : String | Nil #

def entity=(entity : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def invoice_date : Datetime | Nil #

def invoice_date=(invoice_date : Datetime | Nil) #

def invoice_id : String | Nil #

def invoice_id=(invoice_id : String | Nil) #

def invoice_type : String | Nil #

def invoice_type=(invoice_type : String | Nil) #

def liability_type : String | Nil #

def liability_type=(liability_type : String | Nil) #

def payment_status : String | Nil #

def payment_status=(payment_status : String | Nil) #

def payment_term : String | Nil #

def payment_term=(payment_term : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def type : String | Nil #

def type=(type : String | Nil) #