コード例 #1
0
ファイル: Cashew.php プロジェクト: owlgrin/cashew
 /**
  * Returns the added invoice item of a customer
  * @param  array $item
  * @return array
  */
 public function addInvoiceItem($item)
 {
     if (!$this->subscription) {
         throw new CashewExceptions\NoSubscriptionException();
     }
     return $this->gateway->invoiceItem($item);
 }