class Tpaga::DaviPlataChargeback
Attributes
davi_plata[RW]
davi_plata_charge[RW]
id[RW]
reimbursed[RW]
Public Class Methods
attribute_map()
click to toggle source
attribute mapping from ruby-style variable name to JSON key
# File lib/tpaga/models/davi_plata_chargeback.rb, line 6 def self.attribute_map { # :'id' => :'id', # :'davi_plata_charge' => :'daviPlataCharge', # :'davi_plata' => :'daviPlata', # :'reimbursed' => :'reimbursed' } end
new(attributes = {})
click to toggle source
# File lib/tpaga/models/davi_plata_chargeback.rb, line 35 def initialize(attributes = {}) return if !attributes.is_a?(Hash) || attributes.empty? # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'id'] @id = attributes[:'id'] end if attributes[:'daviPlataCharge'] @davi_plata_charge = attributes[:'daviPlataCharge'] end if attributes[:'daviPlata'] @davi_plata = attributes[:'daviPlata'] end if attributes[:'reimbursed'] @reimbursed = attributes[:'reimbursed'] end end
swagger_types()
click to toggle source
attribute type
# File lib/tpaga/models/davi_plata_chargeback.rb, line 25 def self.swagger_types { :'id' => :'string', :'davi_plata_charge' => :'string', :'davi_plata' => :'string', :'reimbursed' => :'boolean' } end