payments_account (StringValue)
The resource name of the payments account associated with this billing setup. Payments resource names have the form:
customers/{customer_id}/paymentsAccounts/{payments_account_id}
When setting up billing, this is used to signup with an existing
payments account (and then payments_account_info should not be set).
When getting a billing setup, this and payments_account_info will be
populated.
payments_account_info (PaymentsAccountInfo)
The payments account information associated with
this billing setup. When setting up billing, this is used to signup with
a new payments account (and then payments_account should not be set).
When getting a billing setup, this and payments_account will be
populated.
Approach 1) Now assuming, I have to use payments_account resource name (as I am using existing payments_account), the java client doesn't support paymentsAccount(long custonerID,String payment_accountId) but only supports ResourceNames.paymentsAccount(long customerId,long payment_accountId)ResourceNames.
Thanks,
Alok