Example #1
0
/**
 * 2016-08-25
 * @uses \Df\Payment\Method::codeS()
 * @param string|object $caller
 * @return string
 */
function dfp_method_code($caller)
{
    return dfcf(function ($class) {
        return dfp_method_call_s($class, 'codeS');
    }, [df_cts($caller)]);
}
Example #2
0
 /**
  * 2016-07-11
  * @used-by \Df\Payment\R\Response::payment()
  * @used-by \Df\Payment\R\Response::requestIdG()
  * @param string $localId
  * @return string
  * @uses \Df\Payment\Method::transactionIdL2G()
  */
 private function idL2G($localId)
 {
     return dfp_method_call_s($this, 'transactionIdL2G', $localId);
 }
Example #3
0
 /**
  * 2016-08-04
  * @used-by \Df\Payment\ConfigProvider::getConfig()
  * @return array(string => mixed)
  */
 protected function config()
 {
     return ['askForBillingAddress' => $this->s()->askForBillingAddress(), 'isTest' => $this->s()->test(), 'paymentCurrency' => ['code' => $this->s()->currencyC(), 'format' => df_locale_f()->getPriceFormat($locale = null, $this->s()->currencyC()), 'name' => $this->s()->currencyN(), 'rate' => $this->s()->cRateToPayment()], 'route' => df_route($this), 'titleBackend' => dfp_method_call_s($this, 'titleBackendS')];
 }