"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Payment = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

var _paymentDetails = require("./payment-details");

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
const Payment = {
  id: _propTypes.default.string.isRequired,
  amount: _propTypes.default.number.isRequired,
  methodId: _propTypes.default.string.isRequired,
  details: _propTypes.default.shape(_paymentDetails.PaymentDetails)
  /**
   * @memberOf module:@mobify/commerce-integrations/dist/types
   * @typedef {Object} Payment
   * @property {String} id The payment id.
   * @property {Number} amount The payment amount.
   * @property {String} methodId The payment method id.
   * @property {module:@mobify/commerce-integrations/dist/types.PaymentDetails} details The customer's payment details for the specified payment method.
   */

};
exports.Payment = Payment;