code: function PaymentDetails(options) {
    if (!(this instanceof PaymentDetails))
      return new PaymentDetails(options);
  
    this.network = null;
    this.outputs = [];
    this.time = util.now();
    this.expires = -1;
    this.memo = null;
    this.paymentUrl = null;
    this.merchantData = null;
  
    if (options)
      this.fromOptions(options);
  }
docs: Represents BIP70 payment details.
  @alias module:bip70.PaymentDetails
  @constructor
  @param {Object?} options
  @property {String|null} network
  @property {Output[]} outputs
  @property {Number} time
  @property {Number} expires
  @property {String|null} memo
  @property {String|null} paymentUrl
  @property {Buffer|null} merchantData