Пример #1
0
 /**
  * Get the Stripe supported currency used by the entity.
  *
  * @return string
  */
 public function preferredCurrency()
 {
     return Cashier::usesCurrency();
 }
Пример #2
0
 /**
  * Format the given amount into a string based on the user's preferences.
  *
  * @param  int $amount
  * @return string
  */
 protected function formatAmount($amount)
 {
     return Cashier::formatAmount($amount);
 }