Skip to content

Instantly share code, notes, and snippets.

@marcosbrasil
Created July 7, 2019 18:13
Show Gist options
  • Save marcosbrasil/bae88386a9de33a0bf36e2bbbc7990f6 to your computer and use it in GitHub Desktop.
Save marcosbrasil/bae88386a9de33a0bf36e2bbbc7990f6 to your computer and use it in GitHub Desktop.
# Iugu_Invoice depois do foreach
Iugu_Invoice Object
(
[_attributes:protected] => Array
(
[id] => 5326E420DE33462596F46D1ECB2A7F93
[due_date] => 2019-07-10
[currency] => BRL
[discount_cents] => 0
[email] => teste20190707@fixbitt.com
[items_total_cents] => 57400
[notification_url] =>
[return_url] =>
[status] => pending
[tax_cents] =>
[total_cents] => 57400
[total_paid_cents] => 0
[taxes_paid_cents] =>
[paid_at] =>
[paid_cents] =>
[cc_emails] => fixiana@fixbitt.com
[financial_return_date] =>
[payable_with] => all
[overpaid_cents] =>
[ignore_due_email] =>
[ignore_canceled_email] =>
[advance_fee_cents] =>
[commission_cents] =>
[early_payment_discount] =>
[order_id] =>
[updated_at] => 2019-07-07T14:59:21-03:00
[secure_id] => 5326e420-de33-4625-96f4-6d1ecb2a7f93-2a4c
[secure_url] => https://faturas.iugu.com/5326e420-de33-4625-96f4-6d1ecb2a7f93-2a4c
[customer_id] =>
[customer_ref] =>
[customer_name] =>
[user_id] =>
[total] => R$ 574,00
[taxes_paid] => R$ 0,00
[total_paid] => R$ 0,00
[total_overpaid] => R$ 0,00
[commission] => R$ 0,00
[fines_on_occurrence_day] =>
[total_on_occurrence_day] =>
[fines_on_occurrence_day_cents] =>
[total_on_occurrence_day_cents] =>
[advance_fee] =>
[paid] => R$ 0,00
[original_payment_id] =>
[double_payment_id] =>
[interest] =>
[discount] =>
[created_at] => 07/07, 14:59 h
[created_at_iso] => 2019-07-07T14:59:21-03:00
[authorized_at] =>
[authorized_at_iso] =>
[expired_at] =>
[expired_at_iso] =>
[refunded_at] =>
[refunded_at_iso] =>
[canceled_at] =>
[canceled_at_iso] =>
[protested_at] =>
[protested_at_iso] =>
[chargeback_at] =>
[chargeback_at_iso] =>
[occurrence_date] =>
[refundable] =>
[installments] =>
[transaction_number] => 1111
[payment_method] =>
[financial_return_dates] =>
[bank_slip] => stdClass Object
(
[digitable_line] => 00000000000000000000000000000000000000000000000
[barcode_data] => 00000000000000000000000000000000000000000000
[barcode] => https://faturas.iugu.com/barcode/5326e420-de33-4625-96f4-6d1ecb2a7f93-2a4c
)
[items] => Array
(
[0] => Array
(
[description] => Camisa (CALR16455)
[quantity] => 1
[price_cents] => 16800
)
[1] => Array
(
[description] => Body Decote V (BLAQP16728)
[quantity] => 1
[price_cents] => 13800
)
[2] => Array
(
[description] => Macacão Visco e Pregas (MCGEM16487)
[quantity] => 1
[price_cents] => 26800
)
)
[early_payment_discounts] => Array
(
)
[variables] => Array
(
[0] => stdClass Object
(
[id] => FD74FD4D3B1A4CAF99B5A045E9B8E1C1
[variable] => payer.address.city
[value] => Tiros
)
[1] => stdClass Object
(
[id] => 05655F3A21FC44628228C13C3FD762A1
[variable] => payer.address.district
[value] => Centro
)
[2] => stdClass Object
(
[id] => B2AFD05BB47842C0ADEA86EABE0CF466
[variable] => payer.address.number
[value] => 1001
)
[3] => stdClass Object
(
[id] => DBFE285846404BCBB71A48C5DD7DC537
[variable] => payer.address.state
[value] => MG
)
[4] => stdClass Object
(
[id] => D72F813A85E744B48FA4ECBDDDFD0310
[variable] => payer.address.street
[value] => Ecrivão Antônio Pessoa
)
[5] => stdClass Object
(
[id] => 793424F4999748B7B1EBA758585DB18D
[variable] => payer.address.zip_code
[value] => 38880-000
)
[6] => stdClass Object
(
[id] => 128F8500FA054707A544AB2C1C089C3B
[variable] => payer.cpf_cnpj
[value] => 117.130.576-11
)
[7] => stdClass Object
(
[id] => 2F0A7F5F0F9A473180D3A1D116B576BF
[variable] => payer.email
[value] => teste20190707@fixbitt.com
)
[8] => stdClass Object
(
[id] => 1953BCE63BEE4CEBAF2D921F80ABDC3D
[variable] => payer.name
[value] => Larissa Gonçalves de Araújo
)
[9] => stdClass Object
(
[id] => 16138D893A1142BB83CEC422723FFFA2
[variable] => payment_data.transaction_number
[value] => 1111
)
)
[custom_variables] => Array
(
)
[logs] => Array
(
[0] => stdClass Object
(
[id] => 1245E825D2E041C1B1AECF3705F82758
[description] => Email de Lembrete enviado!
[notes] => Lembrete enviado com sucesso para: teste20190707@fixbitt.com
[created_at] => 07/07, 14:59 h
)
[1] => stdClass Object
(
[id] => 8500B4EEEC3A46BD8F2440FAF72576DB
[description] => Fatura criada com sucesso!
[notes] => Fatura criada!
[created_at] => 07/07, 14:59 h
)
)
[payer] => Array
(
[cpf_cnpj] => 117.130.576-11
[name] => Larissa Gonçalves de Araújo
[email] => teste20190707@fixbitt.com
[address] => Array
(
[street] => Ecrivão Antônio Pessoa
[number] => 1001
[district] => Centro
[city] => Belo Horizonte
[state] => MG
[zip_code] => 38880-000
[complement] =>
)
)
)
[_unsavedAttributes:protected] => Array
(
[email] => 1
[cc_emails] => 1
[due_date] => 1
[discount_cents] => 1
[items] => 1
[payer] => 1
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment