to Json
Converts the CreditCard object to a JsonObject representation. By default, sensitive information like cardNumber and cvv are excluded.
Return
A JsonObject containing the credit card data.
Converts the CreditCard object to a JsonObject representation. By default, sensitive information like cardNumber and cvv are excluded.
A JsonObject containing the credit card data.