recurly / recurly-client-php

Recurly PHP Client
http://recurly.com
MIT License
172 stars 93 forks source link

Support for multiple business entities #770

Closed andcoca closed 1 year ago

andcoca commented 1 year ago

Adds override_business_entity to Account. Adds business_entity to Invoice. GET /v2/business_entities GET /v2/business_entities/:business_entity_uuid GET /v2/business_entities/:business_entity_uuid/invoices

$business_entity = Recurly_BusinessEntity::get('business_entity_uuid_or_business_entity_code');
$business_entities = Recurly_BusinessEntityList::get();
$invoices = Recurly_InvoiceList::getForBusinessEntity('business_entity_uuid_or_business_entity_code');