当前位置: 首页>>代码示例>>PHP>>正文


PHP Transaction::__construct方法代码示例

本文整理汇总了PHP中Transaction::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Transaction::__construct方法的具体用法?PHP Transaction::__construct怎么用?PHP Transaction::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Transaction的用法示例。


在下文中一共展示了Transaction::__construct方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

 function __construct($text = null, array $params = array())
 {
     if (!is_null($text)) {
         $this->setText($text);
     }
     parent::__construct($params);
 }
开发者ID:Kinetical,项目名称:Kinesis,代码行数:7,代码来源:Query.php

示例2:

 function __construct($args)
 {
     $args['name'] = 'fund';
     parent::__construct($args);
 }
开发者ID:kakarot1991,项目名称:paid-to-click-cms,代码行数:5,代码来源:FundAccount.php

示例3: __construct

 public function __construct($paymentDetails = NULL)
 {
     parent::__construct($paymentDetails);
 }
开发者ID:mgazelle,项目名称:ideal,代码行数:4,代码来源:Ideal.php

示例4:

 /**
  * key-value pair to initialize the class's attributes
  * @param array $args
  */
 function __construct($args)
 {
     $args['name'] = 'cashout';
     parent::__construct($args);
 }
开发者ID:kakarot1991,项目名称:paid-to-click-cms,代码行数:9,代码来源:Cashout.php

示例5: __construct

 /**
  * GetTerminalListTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->action_type = Paymentree::ACTION_TYPE_TERMINAL_CLOSE_LIST;
 }
开发者ID:travis-bradbury,项目名称:php-paymentree-api,代码行数:8,代码来源:GetTerminalListTransaction.php

示例6: __construct

 /**
  * PaymentRefundTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }
开发者ID:travis-bradbury,项目名称:php-paymentree-api,代码行数:7,代码来源:PaymentRefundTransaction.php

示例7: __construct

 /**
  * QueryVoidInvoiceNumberTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->action_type = Paymentree::ACTION_TYPE_QUERY_VOID;
 }
开发者ID:travis-bradbury,项目名称:php-paymentree-api,代码行数:8,代码来源:QueryVoidInvoiceNumberTransaction.php

示例8: __construct

 public function __construct(StockAccount $sourceAcc, StockAccount $destinationAcc, TransactionType $ttype, ResourceType $rtype, Quantity $quantity, $description)
 {
     parent::__construct($sourceAcc, $destinationAcc, $ttype, $rtype, $quantity, $description);
     //e.g supplier account, warehouse account, 'Goods Received Inwards', Samsung Fridge BF-X450, 14 items, 'delivery from supplier xxxx'
 }
开发者ID:xander-mbaka,项目名称:momentum,代码行数:5,代码来源:Inventory.php

示例9:

 function __construct(Money $amount, $description, TransactionType $txtype)
 {
     //$ttype === posting protocol/rule
     $this->transactionType = $txtype;
     parent::__construct($amount, $description);
 }
开发者ID:xander-mbaka,项目名称:momentum,代码行数:6,代码来源:Accounting.php

示例10: __construct

 /**
  * CommitTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->action_type = Paymentree::ACTION_TYPE_COMMIT;
 }
开发者ID:travis-bradbury,项目名称:php-paymentree-api,代码行数:8,代码来源:CommitTransaction.php

示例11: __construct

 /**
  * BatchCloseTransaction constructor.
  * @param string $terminal_number
  */
 public function __construct($terminal_number = 'all')
 {
     parent::__construct();
     $this->setTerminal($terminal_number);
     $this->action_type = Paymentree::ACTION_TYPE_TERMINAL_CLOSE;
 }
开发者ID:travis-bradbury,项目名称:php-paymentree-api,代码行数:10,代码来源:BatchCloseTransaction.php


注:本文中的Transaction::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。