You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are looking to add a phone number to our requests to create subscriptions and transactions. I noticed an odd discrepancy between how phone numbers are stored on TransactionRequestType and ARBSubscriptionType.
ARBSubscriptionType does not use that same type for it's billTo field. It instead uses NameAndAddressType which does not support a phoneNumber field. It does have a customer field of CustomerType which supports a phoneNumber.
But,
TransactionRequestType's customer field uses CustomerDataType which inexplicably does not have a phoneNumber field.
This is somewhat confusing and inconsistent. I'm not sure if this is by design or something was typed incorrectly.
Since CustomerAddressType extends the NameAndAddressType I would propose changing the ARBSubscriptionTypebillTo field to CustomerAddressType
or change the customer field on TransactionRequestType from CustomerDataType to CustomerType since the latter supports all of the formers fields as well as adding two new ones.
Appreciate your time.
Thanks.
The text was updated successfully, but these errors were encountered:
We are looking to add a phone number to our requests to create subscriptions and transactions. I noticed an odd discrepancy between how phone numbers are stored on
TransactionRequestType
andARBSubscriptionType
.TransactionRequestType supports
phoneNumber
on it'sbillTo
field of type CustomerAddressType.However,
ARBSubscriptionType does not use that same type for it's
billTo
field. It instead uses NameAndAddressType which does not support aphoneNumber
field. It does have acustomer
field of CustomerType which supports aphoneNumber
.But,
TransactionRequestType
's customer field uses CustomerDataType which inexplicably does not have aphoneNumber
field.This is somewhat confusing and inconsistent. I'm not sure if this is by design or something was typed incorrectly.
Since
CustomerAddressType
extends theNameAndAddressType
I would propose changing theARBSubscriptionType
billTo
field toCustomerAddressType
or change the
customer
field onTransactionRequestType
fromCustomerDataType
toCustomerType
since the latter supports all of the formers fields as well as adding two new ones.Appreciate your time.
Thanks.
The text was updated successfully, but these errors were encountered: