Properties

$id

$id : string

Type

string

$name

$name : string

Type

string

$type

$type : string

Type

string

$amount

$amount : string

Type

string

$merchantContribute

$merchantContribute : string

Type

string

$otherContribute

$otherContribute : string

Type

string

$memo

$memo : string

Type

string

$templateId

$templateId : string

Type

string

$purchaseBuyerContribute

$purchaseBuyerContribute : string

Type

string

$purchaseMerchantContribute

$purchaseMerchantContribute : string

Type

string

$purchaseAntContribute

$purchaseAntContribute : string

Type

string

$_name

$_name

$_required

$_required

Methods

__construct()

__construct(mixed  $config = []) : mixed

Parameters

mixed $config

Returns

mixed —

getName()

getName(mixed  $name = null) : mixed

Parameters

mixed $name

Returns

mixed —

toMap()

toMap() : mixed

Returns

mixed —

validate()

validate() : mixed

Returns

mixed —

validateRequired()

validateRequired(mixed  $fieldName, mixed  $field, mixed  $val = null) : mixed

Parameters

mixed $fieldName
mixed $field
mixed $val

Returns

mixed —

validateMaxLength()

validateMaxLength(mixed  $fieldName, mixed  $field, mixed  $val = null) : mixed

Parameters

mixed $fieldName
mixed $field
mixed $val

Returns

mixed —

validateMinLength()

validateMinLength(mixed  $fieldName, mixed  $field, mixed  $val = null) : mixed

Parameters

mixed $fieldName
mixed $field
mixed $val

Returns

mixed —

validatePattern()

validatePattern(mixed  $fieldName, mixed  $field, mixed  $regex = '') : mixed

Parameters

mixed $fieldName
mixed $field
mixed $regex

Returns

mixed —

validateMaximum()

validateMaximum(mixed  $fieldName, mixed  $field, mixed  $val) : mixed

Parameters

mixed $fieldName
mixed $field
mixed $val

Returns

mixed —

validateMinimum()

validateMinimum(mixed  $fieldName, mixed  $field, mixed  $val) : mixed

Parameters

mixed $fieldName
mixed $field
mixed $val

Returns

mixed —

toModel()

toModel(array  $map, \AlibabaCloud\Tea\Model  $model) : mixed

Parameters

array $map
\AlibabaCloud\Tea\Model $model

Returns

mixed —

fromMap()

fromMap(array  $map = []) : \Alipay\EasySDK\Payment\FaceToFace\Models\VoucherDetail

Parameters

array $map

Returns

\Alipay\EasySDK\Payment\FaceToFace\Models\VoucherDetail —