Guest User

Untitled

a guest
Jan 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. public function getArgs() {
  2. // ritorna gli argomenti opportunamente strutturati per una chiamata WSDL
  3. return array(
  4. 'msisdn' => $this->args['telephone'],
  5. 'fieldMap' => array(
  6. 'VAS_PP_USER.CUSTOMERS.BIRTHDATE' => array(
  7. $this->args['birthdate'], 'Date', '='
  8. )
  9. ),
  10. 'merchantId' => $this->args['merchantId'],
  11. 'productCode' => $this->args['productCode'],
  12. 'amount' => $this->args['amount'],
  13. 'currency' => 'EUR',
  14. 'channel' => 'WEB', // WEB o WAP, non ha senso renderlo configurabile.
  15. 'transactionId' => $this->args['transactionId'],
  16. 'action' => 'SUBMIT',
  17. 'productName' => $this->args['productName'],
  18. 'productCategory' => 1, // non variabile
  19. );
  20. }
Add Comment
Please, Sign In to add comment