Пример #1
0
 /**
  * Delete a card.
  *
  * @return Card
  */
 public function delete()
 {
     $this->info();
     $this->stripe_card->delete();
     $this->stripe_card = null;
     return $this;
 }
Пример #2
0
 /**
  * Remove customer card
  *
  * @param Card $card
  * @return \Stripe\Object
  */
 public function remove(Card $card)
 {
     $object = $card->delete();
     return $object;
 }