PaymentMethod
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long | Unique identifier for the payment method. | [default to null] |
| user_id | Long | User ID who owns this payment method. | [default to null] |
| gateway_name | String | Payment gateway name. | [default to null] |
| gateway_payment_method_id | String | Payment method ID from the gateway. | [default to null] |
| type | PaymentMethodType | Type of payment method. | [default to null] |
| card | CardDetails | Card details if this is a card payment method. | [optional] [default to null] |
| wallet | WalletDetails | Wallet details if this is a wallet payment method. | [optional] [default to null] |
| upi | UPIDetails | UPI details if this is a UPI payment method. | [optional] [default to null] |
| expiry_month | Integer | Expiry month for card payment methods. | [optional] [default to null] |
| expiry_year | Integer | Expiry year for card payment methods. | [optional] [default to null] |
| is_default | Boolean | Whether this is the default payment method. | [default to null] |
| logo | String | Logo URL for the payment method. | [optional] [default to null] |
| is_cash | Boolean | Whether this is a cash payment method. | [default to null] |
| name | String | Name of the payment method. | [optional] [default to null] |
| photo | String | Photo URL for the payment method. | [optional] [default to null] |
| slug | String | URL-friendly slug for the payment method. | [optional] [default to null] |
| metadata | any | Additional metadata for the payment method. | [default to null] |
| created_at | Date | Timestamp when the payment method was created. | [default to null] |
| updated_at | Date | Timestamp when the payment method was last updated. | [default to null] |