src/wmcc/uri.js
function URI(options) {
  if (!(this instanceof URI))
    return new URI(options);

  this.address = new Address();
  this.amount = -1;
  this.label = null;
  this.message = null;
  this.request = null;

  if (options)
    this.fromOptions(options);
}
function URI(options) {
  if (!(this instanceof URI))
    return new URI(options);

  this.address = new Address();
  this.amount = -1;
  this.label = null;
  this.message = null;
  this.request = null;

  if (options)
    this.fromOptions(options);
}
function URI ( options ) { if ( ! ( this instanceof URI ) ) return new URI ( options ) ; this . address = new Address ( ) ; this . amount = - 1 ; this . label = null ; this . message = null ; this . request = null ; if ( options ) this . fromOptions ( options ) ; }
Represents a WMCC URI.
@alias module:wmcc.URI
@constructor
@param {Object|String} options
@property {Address} address
@property {Amount} amount
@property {String|null} label
@property {String|null} message
@property {String|null} request
Represents a WMCC URI .