services/transaction/transfer/simple_token.js
function (params) {

  const oThis = this
  ;

  params = params || {};
  oThis.senderAddress = params.sender_address;
  oThis.senderPassphrase = params.sender_passphrase;
  oThis.senderName = params.sender_name;
  oThis.recipientAddress = params.recipient_address;
  oThis.recipientName = params.recipient_name;
  oThis.amountInWei = params.amount_in_wei;
  oThis.tag = (params.options || {}).tag;
  oThis.returnType = (params.options || {}).returnType || 'txHash';

}
function (params) {

  const oThis = this
  ;

  params = params || {};
  oThis.senderAddress = params.sender_address;
  oThis.senderPassphrase = params.sender_passphrase;
  oThis.senderName = params.sender_name;
  oThis.recipientAddress = params.recipient_address;
  oThis.recipientName = params.recipient_name;
  oThis.amountInWei = params.amount_in_wei;
  oThis.tag = (params.options || {}).tag;
  oThis.returnType = (params.options || {}).returnType || 'txHash';

}
function ( params ) { const oThis = this ; params = params || { } ; oThis . senderAddress = params . sender_address ; oThis . senderPassphrase = params . sender_passphrase ; oThis . senderName = params . sender_name ; oThis . recipientAddress = params . recipient_address ; oThis . recipientName = params . recipient_name ; oThis . amountInWei = params . amount_in_wei ; oThis . tag = ( params . options || { } ) . tag ; oThis . returnType = ( params . options || { } ) . returnType || 'txHash' ; }
Transfer Simple Token Service

@param {object} params -
@param {string} params.sender_address - Sender address
@param {string} params.sender_passphrase - Sender passphrase
@param {string} [params.sender_name] - Sender name where only platform has address and passphrase
@param {string} params.recipient_address - Recipient address
@param {string} [params.recipient_name] - Recipient name name where only platform has address and passphrase
@param {number} params.amount_in_wei - Amount (in wei) to transfer
@param {object} params.options -
@param {string} params.options.tag - extra param which gets logged for transaction as transaction type
@param {boolean} [params.options.returnType] - Desired return type. possible values: uuid, txHash, txReceipt. Default: txHash

@constructor
Transfer Simple Token Service