コード例 #1
0
ファイル: Card.php プロジェクト: autocar/laravel-billing
 /**
  * Delete a card.
  *
  * @return Card
  */
 public function delete()
 {
     $this->info();
     $this->stripe_card->delete();
     $this->stripe_card = null;
     return $this;
 }
コード例 #2
0
ファイル: CardService.php プロジェクト: Asisyas/EqPay
 /**
  * Remove customer card
  *
  * @param Card $card
  * @return \Stripe\Object
  */
 public function remove(Card $card)
 {
     $object = $card->delete();
     return $object;
 }