gotransverse-tract-api 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de45af11abe9f1211023d1c6c1e0436864f77f7e
|
4
|
+
data.tar.gz: 644e23b9ced362c131ddd1cb84122994a454f718
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2732468be1aa07f319e1041b4da66e01819ae38018a610d0f5eb043546e19edb79f0cdbd8d8067d87add36a05e1a22d9618565408b5b79f72b3aa9b911223adf
|
7
|
+
data.tar.gz: 764ab0a09fdbaada5754513d4f1590dd3e4fca18adeaa66cd03ae659c06883eeeee9ac2f3a1de778b04162dbebe7527988fa525d5006885996423569df69464a
|
@@ -466,12 +466,15 @@ module GoTransverseTractApi
|
|
466
466
|
eid: eid,
|
467
467
|
billType: billing_account[:bill_type],
|
468
468
|
automaticRecurringPayment: billing_account[:automatic_recurring_payment]
|
469
|
-
},
|
470
|
-
billingAccountCategory: {
|
471
|
-
eid: billing_account[:billing_account_category][:eid]
|
472
469
|
}
|
473
470
|
}
|
474
471
|
|
472
|
+
if billing_account[:billing_account_category].present?
|
473
|
+
data[:billingAccountCategory] = {
|
474
|
+
eid: billing_account[:billing_account_category][:eid]
|
475
|
+
}
|
476
|
+
end
|
477
|
+
|
475
478
|
data[:billingAccount][:paymentTerm] = billing_account[:payment_term] if billing_account[:payment_term].present?
|
476
479
|
|
477
480
|
xml_data = GoTransverseTractApi.generateXML(data, 'billingAccount')
|