Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 6x | /* * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * */
import PropTypes from 'prop-types'
/**
* @memberOf module:types
* @typedef {Object} PaymentMethod
* @property {String} id The payment method id.
* @property {String} name The payment method name.
* @property {Array.Object} types The different types of the particular payment method. (i.e. a Credit Card payment method can have types Visa and Mastercard)
*/
export const PaymentMethod = {
id: PropTypes.string.isRequired,
name: PropTypes.string,
types: PropTypes.arrayOf(
PropTypes.shape({
id: PropTypes.string,
name: PropTypes.string
})
)
}
|