struct Facebook::Proto::ExtendedCredit

Included Modules

Defined in:

cli/proto/facebook/ExtendedCredit.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: :credit_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :is_access_revoked, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :is_automated_experience, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :last_payment_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :legal_entity_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :liable_biz_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :owner_business_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :partition_from, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :send_bill_to_biz_name, 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, credit_type : String | Nil = nil, is_access_revoked : Bool | Nil = nil, is_automated_experience : Bool | Nil = nil, last_payment_time : Datetime | Nil = nil, legal_entity_name : String | Nil = nil, liable_biz_name : String | Nil = nil, owner_business_name : String | Nil = nil, partition_from : String | Nil = nil, send_bill_to_biz_name : 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 credit_type : String | Nil #

def credit_type=(credit_type : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_access_revoked : Bool | Nil #

def is_access_revoked=(is_access_revoked : Bool | Nil) #

def is_automated_experience : Bool | Nil #

def is_automated_experience=(is_automated_experience : Bool | Nil) #

def last_payment_time : Datetime | Nil #

def last_payment_time=(last_payment_time : Datetime | Nil) #

def legal_entity_name : String | Nil #

def legal_entity_name=(legal_entity_name : String | Nil) #

def liable_biz_name : String | Nil #

def liable_biz_name=(liable_biz_name : String | Nil) #

def owner_business_name : String | Nil #

def owner_business_name=(owner_business_name : String | Nil) #

def partition_from : String | Nil #

def partition_from=(partition_from : String | Nil) #

def send_bill_to_biz_name : String | Nil #

def send_bill_to_biz_name=(send_bill_to_biz_name : String | Nil) #

def to_hash #

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

def to_protobuf #