EC-CUBE4 APIドキュメント

OrderType extends AbstractType

Table of Contents

$orderRepository OrderRepository
$deliveryRepository DeliveryRepository
$paymentRepository PaymentRepository
$baseInfoRepository BaseInfoRepository
$requestContext Context
__construct() OrderType constructor. mixed
buildForm() {@inheritdoc} mixed
configureOptions() mixed
getBlockPrefix() mixed
addPaymentForm() mixed
getDeliveries() 出荷に紐づく配送方法を取得する. \Eccube\Entity\Delivery[]
getPayments() 配送方法に紐づく支払い方法を取得する 各配送方法に共通する支払い方法のみ返す. ArrayCollection
filterPayments() 支払い方法の利用条件でフィルタをかける. \Eccube\Entity\Payment[]

Properties

Methods

buildForm()

{@inheritdoc}

public buildForm( $builder : FormBuilderInterface , $options : array ) : mixed
Parameters
$builder : FormBuilderInterface
$options : array
Return values
mixed

configureOptions()

public configureOptions( $resolver : OptionsResolver ) : mixed
Parameters
$resolver : OptionsResolver
Return values
mixed

getBlockPrefix()

public getBlockPrefix( ) : mixed
Return values
mixed

addPaymentForm()

private addPaymentForm( $form : FormInterface , $choices : array [, $data : Payment = null ] ) : mixed
Parameters
$form : FormInterface
$choices : array
$data : Payment = null
Return values
mixed

getDeliveries()

出荷に紐づく配送方法を取得する.

private getDeliveries( $Order : Order ) : \Eccube\Entity\Delivery[]
Parameters
$Order : Order
Return values
\Eccube\Entity\Delivery[]

getPayments()

配送方法に紐づく支払い方法を取得する 各配送方法に共通する支払い方法のみ返す.

private getPayments( $Deliveries : \Eccube\Entity\Delivery[] ) : ArrayCollection
Parameters
$Deliveries : \Eccube\Entity\Delivery[]
Return values
ArrayCollection

filterPayments()

支払い方法の利用条件でフィルタをかける.

private filterPayments( $Payments : ArrayCollection , $total : ) : \Eccube\Entity\Payment[]
Parameters
$Payments : ArrayCollection
$total :
Return values
\Eccube\Entity\Payment[]

Search results