Skip to content

Instantly share code, notes, and snippets.

@marcosbrasil
Created July 7, 2019 18:11
Show Gist options
  • Save marcosbrasil/8b0b7deb369b0f77c2beb8fdb55d0520 to your computer and use it in GitHub Desktop.
Save marcosbrasil/8b0b7deb369b0f77c2beb8fdb55d0520 to your computer and use it in GitHub Desktop.
#Iugu_Invoice - Objeto original (pre 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] => stdClass Object
(
[id] => D799DFC8B40647FCB8F79EC6AC1F17C2
[description] => Camisa (CALR16455)
[price_cents] => 16800
[quantity] => 1
[created_at] => 2019-07-07T14:59:21-03:00
[updated_at] => 2019-07-07T14:59:21-03:00
[price] => R$ 168,00
)
[1] => stdClass Object
(
[id] => 885485ECFBF44B97AF7F03B7070B6D8B
[description] => Body Decote V (BLAQP16728)
[price_cents] => 13800
[quantity] => 1
[created_at] => 2019-07-07T14:59:21-03:00
[updated_at] => 2019-07-07T14:59:21-03:00
[price] => R$ 138,00
)
[2] => stdClass Object
(
[id] => EC570A1BD8704818AA8EC1DB6157C2E6
[description] => Macacão Visco e Pregas (MCGEM16487)
[price_cents] => 26800
[quantity] => 1
[created_at] => 2019-07-07T14:59:21-03:00
[updated_at] => 2019-07-07T14:59:21-03:00
[price] => R$ 268,00
)
)
[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
)
)
)
[_unsavedAttributes:protected] => Array
(
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment