xdm icon indicating copy to clipboard operation
xdm copied to clipboard

Snake case used in enumerations on paymentItem

Open stewartschillingsdi opened this issue 5 years ago • 0 comments

What are the schemas that are affected by the issue

https://ns.adobe.com/xdm/data/paymentitem

In the enumeration for paymentType, snake-case is used for "credit_card", "debit_card", "gift-card", and others.

Is this desirable?

Example below:

            "xdm:paymentType": {
                "title": "Payment Type",
                "type": "string",
                "description": "The method of payment for this order. Enumerated, custom values allowed.",
                "default": "other",
                "meta:enum": {
                    "cash": "Cash",
                    "credit_card": "Credit Card",
                    "debit_card": "Debit Card",
                    "gift_card": "Gift Card",
                    "check": "Check",
                    "paypal": "PayPal",
                    "wire_transfer": "Wire Transfer",
                    "credit_card_reference": "Credit Card Reference Transaction",
                    "other": "Other"
                }
            },

stewartschillingsdi avatar Sep 26 '19 17:09 stewartschillingsdi