cancel
Showing results for 
Search instead for 
Did you mean: 

CIM createCustomerPaymentProfileResponse, need clarification on customerPaymentProfileId format

Using CIM, PHP SDK, MySQL

 

Documentation states:

 

customerPaymentProfileId

Format: Numeric

 

Numeric can mean many different things. How should this value be stored? Unless we have more details on what exactly this value can contain, it seems the only safe way to store it is as a string.

codasaurus
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

it a whole number, it 8 digit for now, but could grow to 9 digit then 10, etc

View solution in original post

RaynorC1emen7
Expert
2 REPLIES 2

it a whole number, it 8 digit for now, but could grow to 9 digit then 10, etc

RaynorC1emen7
Expert

Thank you for the clarification. Our original developer set the mysql data type as decimal(10,1), and I was trying to figure out if he knew something I didn't know. As long as the value will always be a whole, positive number, it seems the best approach would be int(11) unsigned