我需要使用API,响应为:
stdClass Object
(
[id_comanda] => 282946141
[customers_id] => 1591236372
[customers_name] => Client Name
[date_purchased] => 2020-05-14 19:17:13
[payment_method] => Online cu card bancar (Visa Classic/Electron, Mastercard, Maestr
[customers_company] => Client Name
[billing_name] => Client Name
[billing_company] =>
[customers_cui] =>
[customers_j] =>
[status] => 25
[delivery_company] =>
[delivery_name] => Client Name
[customers_telephone] => 073583199
[customers_state] => cel
[id_adresa_afiliat] => 0
[data_factura] => 2020-05-14 20:22:30
[motiv_respingere] =>
[mod_contact] => 1
[platit] => 0.0000
[kg] => -1
[customers_iban] =>
[client_blocat] => 0
[client_verificat] => 0000-00-00 00:00:00
[ext_invoice] => 0
[proforma_serie] =>
[proforma_numar] =>
[de_finalizat] =>
[value] => 158.0000000
[delivery_info] => stdClass Object
(
[strada] => street
[suburbie] => Zimnicea
[judet] => Teleorman
[oras] => Telita
[id_adr] => 12315
)
我需要从使用PHP的形式的响应中获取价值。
我试图用来解码,但没有成功。