struct Facebook::Proto::BilledAmountDetails

Included Modules

Defined in:

cli/proto/facebook/BilledAmountDetails.pb.cr

Constant Summary

FIELDS = {1 => {name: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :net_amount, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :tax_amount, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :total_amount, 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(currency : String | Nil = nil, net_amount : String | Nil = nil, tax_amount : String | Nil = nil, total_amount : 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 currency : String | Nil #

def currency=(currency : String | Nil) #

def net_amount : String | Nil #

def net_amount=(net_amount : String | Nil) #

def tax_amount : String | Nil #

def tax_amount=(tax_amount : String | Nil) #

def to_hash #

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

def to_protobuf #

def total_amount : String | Nil #

def total_amount=(total_amount : String | Nil) #