diff --git a/Tests/Recurly/BusinessEntity_List_Test.php b/Tests/Recurly/BusinessEntity_List_Test.php
index b272a789..b287f2e1 100644
--- a/Tests/Recurly/BusinessEntity_List_Test.php
+++ b/Tests/Recurly/BusinessEntity_List_Test.php
@@ -40,5 +40,7 @@ public function testGetAll() {
$this->assertEquals(2, count($subscriber_location_countries));
$this->assertInstanceOf('Recurly_SubscriberLocationCountry', $subscriber_location_countries[0]);
$this->assertInstanceOf('Recurly_SubscriberLocationCountry', $subscriber_location_countries[1]);
+ $this->assertEquals($business_entity->default_liability_gl_account_id, '12345');
+ $this->assertEquals($business_entity->default_revenue_gl_account_id, '56789');
}
}
diff --git a/Tests/Recurly/BusinessEntity_Test.php b/Tests/Recurly/BusinessEntity_Test.php
index 4a8a40f5..dc93f27e 100644
--- a/Tests/Recurly/BusinessEntity_Test.php
+++ b/Tests/Recurly/BusinessEntity_Test.php
@@ -38,5 +38,7 @@ public function testGetBusinessEntity() {
$this->assertEquals(2, count($subscriber_location_countries));
$this->assertInstanceOf('Recurly_SubscriberLocationCountry', $subscriber_location_countries[0]);
$this->assertInstanceOf('Recurly_SubscriberLocationCountry', $subscriber_location_countries[1]);
+ $this->assertEquals($business_entity->default_liability_gl_account_id, '12345');
+ $this->assertEquals($business_entity->default_revenue_gl_account_id, '56789');
}
}
diff --git a/Tests/fixtures/business_entities/index-200.xml b/Tests/fixtures/business_entities/index-200.xml
index f8ba376c..4d65148d 100644
--- a/Tests/fixtures/business_entities/index-200.xml
+++ b/Tests/fixtures/business_entities/index-200.xml
@@ -32,6 +32,8 @@ Content-Type: application/xml; charset=utf-8
1234
5678
+ 12345
+ 56789
2023-05-04T17:45:43Z
2023-05-04T17:45:43Z
diff --git a/Tests/fixtures/business_entities/show-200.xml b/Tests/fixtures/business_entities/show-200.xml
index 7980ed62..e6d37e43 100644
--- a/Tests/fixtures/business_entities/show-200.xml
+++ b/Tests/fixtures/business_entities/show-200.xml
@@ -31,6 +31,8 @@ Content-Type: application/xml; charset=utf-8
1234
5678
+ 12345
+ 56789
2023-05-04T17:45:43Z
2023-05-04T17:45:43Z
diff --git a/lib/recurly/business_entity.php b/lib/recurly/business_entity.php
index 1f338a3e..cd222bad 100644
--- a/lib/recurly/business_entity.php
+++ b/lib/recurly/business_entity.php
@@ -6,6 +6,8 @@
* @property string $id
* @property string $code
* @property string $name
+ * @property string $default_revenue_gl_account_id
+ * @property string $default_liability_gl_account_id
* @property Recurly_Address $invoice_display_address The nested invoice address information of the business entity: address1, address2, city, state, zip, country, phone.
* @property Recurly_Address $tax_address The nested tax address information of the business entity: address1, address2, city, state, zip, country, phone.
* @property Recurly_SubscriberLocationCountry[] $subscriber_location_countries