Payment extends AbstractEntity
Payment
Tags
Table of Contents
$id | int | |
---|---|---|
$method | string|null | |
$charge | string|null | |
$rule_max | string|null | |
$sort_no | int|null | |
$fixed | bool | |
$payment_image | string|null | |
$rule_min | string|null | |
$method_class | string|null | |
$visible | int | |
$create_date | DateTime | |
$update_date | DateTime | |
$PaymentOptions | Collection | |
$Creator | Member | |
$AnnotationReader | ||
__toString() | string | |
__construct() | Constructor | mixed |
getId() | Get id. | int |
setMethod() | Set method. | Payment |
getMethod() | Get method. | string|null |
setCharge() | Set charge. | Payment |
getCharge() | Get charge. | string|null |
setRuleMax() | Set ruleMax. | Payment |
getRuleMax() | Get ruleMax. | string|null |
setSortNo() | Set sortNo. | Payment |
getSortNo() | Get sortNo. | int|null |
setFixed() | Set fixed. | Payment |
isFixed() | Get fixed. | bool |
setPaymentImage() | Set paymentImage. | Payment |
getPaymentImage() | Get paymentImage. | string|null |
setRuleMin() | Set ruleMin. | Payment |
getRuleMin() | Get ruleMin. | string|null |
setMethodClass() | Set methodClass. | Payment |
getMethodClass() | Get methodClass. | string|null |
isVisible() | int | |
setVisible() | Payment | |
setCreateDate() | Set createDate. | Payment |
getCreateDate() | Get createDate. | DateTime |
setUpdateDate() | Set updateDate. | Payment |
getUpdateDate() | Get updateDate. | DateTime |
addPaymentOption() | Add paymentOption. | Payment |
removePaymentOption() | Remove paymentOption. | bool |
getPaymentOptions() | Get paymentOptions. | Collection |
setCreator() | Set creator. | Payment |
getCreator() | Get creator. | Member|null |
offsetExists() | mixed | |
offsetSet() | mixed | |
offsetGet() | mixed | |
offsetUnset() | mixed | |
setPropertiesFromArray() | 引数の連想配列を元にプロパティを設定します. | mixed |
toArray() | Convert to associative array. | array |
toNormalizedArray() | Convert to associative array, and normalize to association properties. | array |
toJSON() | Convert to JSON. | string |
toXML() | Convert to XML. | string |
copyProperties() | コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー | AbstractEntity |
setAnnotationReader() | Set AnnotationReader. | AbstractEntity |
getAnnotationReader() | Get AnnotationReader. | Reader |
getEntityIdentifierAsArray() | Convert to Entity of Identity value to associative array. | array |
Properties
$id
private
int
$id
Tags
$method
private
string|null
$method
Tags
$charge
private
string|null
$charge
= ""
Tags
$rule_max
private
string|null
$rule_max
Tags
$sort_no
private
int|null
$sort_no
Tags
$fixed
private
bool
$fixed
= true
Tags
$payment_image
private
string|null
$payment_image
Tags
$rule_min
private
string|null
$rule_min
Tags
$method_class
private
string|null
$method_class
Tags
$visible
private
int
$visible
Tags
$create_date
private
DateTime
$create_date
Tags
$update_date
private
DateTime
$update_date
Tags
$PaymentOptions
private
Collection
$PaymentOptions
Tags
$Creator
private
Member
$Creator
Tags
$AnnotationReader
private
mixed
$AnnotationReader
Methods
__toString()
public
__toString(
)
: string
Return values
string__construct()
Constructor
public
__construct(
)
: mixed
Return values
mixedgetId()
Get id.
public
getId(
)
: int
Return values
intsetMethod()
Set method.
public
setMethod(
[ $method :
string|null
= null ]
)
: Payment
Parameters
- $method : string|null = null
Return values
PaymentgetMethod()
Get method.
public
getMethod(
)
: string|null
Return values
string|nullsetCharge()
Set charge.
public
setCharge(
[ $charge :
string|null
= null ]
)
: Payment
Parameters
- $charge : string|null = null
Return values
PaymentgetCharge()
Get charge.
public
getCharge(
)
: string|null
Return values
string|nullsetRuleMax()
Set ruleMax.
public
setRuleMax(
[ $ruleMax :
string|null
= null ]
)
: Payment
Parameters
- $ruleMax : string|null = null
Return values
PaymentgetRuleMax()
Get ruleMax.
public
getRuleMax(
)
: string|null
Return values
string|nullsetSortNo()
Set sortNo.
public
setSortNo(
[ $sortNo :
int|null
= null ]
)
: Payment
Parameters
- $sortNo : int|null = null
Return values
PaymentgetSortNo()
Get sortNo.
public
getSortNo(
)
: int|null
Return values
int|nullsetFixed()
Set fixed.
public
setFixed(
$fixed :
bool
)
: Payment
Parameters
- $fixed : bool
Return values
PaymentisFixed()
Get fixed.
public
isFixed(
)
: bool
Return values
boolsetPaymentImage()
Set paymentImage.
public
setPaymentImage(
[ $paymentImage :
string|null
= null ]
)
: Payment
Parameters
- $paymentImage : string|null = null
Return values
PaymentgetPaymentImage()
Get paymentImage.
public
getPaymentImage(
)
: string|null
Return values
string|nullsetRuleMin()
Set ruleMin.
public
setRuleMin(
[ $ruleMin :
string|null
= null ]
)
: Payment
Parameters
- $ruleMin : string|null = null
Return values
PaymentgetRuleMin()
Get ruleMin.
public
getRuleMin(
)
: string|null
Return values
string|nullsetMethodClass()
Set methodClass.
public
setMethodClass(
[ $methodClass :
string|null
= null ]
)
: Payment
Parameters
- $methodClass : string|null = null
Return values
PaymentgetMethodClass()
Get methodClass.
public
getMethodClass(
)
: string|null
Return values
string|nullisVisible()
public
isVisible(
)
: int
Return values
intsetVisible()
public
setVisible(
$visible :
bool
)
: Payment
Parameters
- $visible : bool
Return values
PaymentsetCreateDate()
Set createDate.
public
setCreateDate(
$createDate :
DateTime
)
: Payment
Parameters
- $createDate : DateTime
Return values
PaymentgetCreateDate()
Get createDate.
public
getCreateDate(
)
: DateTime
Return values
DateTimesetUpdateDate()
Set updateDate.
public
setUpdateDate(
$updateDate :
DateTime
)
: Payment
Parameters
- $updateDate : DateTime
Return values
PaymentgetUpdateDate()
Get updateDate.
public
getUpdateDate(
)
: DateTime
Return values
DateTimeaddPaymentOption()
Add paymentOption.
public
addPaymentOption(
$paymentOption :
PaymentOption
)
: Payment
Parameters
- $paymentOption : PaymentOption
Return values
PaymentremovePaymentOption()
Remove paymentOption.
public
removePaymentOption(
$paymentOption :
PaymentOption
)
: bool
Parameters
- $paymentOption : PaymentOption
Return values
bool —TRUE if this collection contained the specified element, FALSE otherwise.
getPaymentOptions()
Get paymentOptions.
public
getPaymentOptions(
)
: Collection
Return values
CollectionsetCreator()
Set creator.
public
setCreator(
[ $creator :
Member|null
= null ]
)
: Payment
Parameters
- $creator : Member|null = null
Return values
PaymentgetCreator()
Get creator.
public
getCreator(
)
: Member|null
Return values
Member|nulloffsetExists()
public
offsetExists(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedoffsetSet()
public
offsetSet(
$offset :
mixed
, $value :
mixed
)
: mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixedoffsetGet()
public
offsetGet(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedoffsetUnset()
public
offsetUnset(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedsetPropertiesFromArray()
引数の連想配列を元にプロパティを設定します.
public
setPropertiesFromArray(
$arrProps :
array
[, $excludeAttribute :
string[]
= [] ]
[, $parentClass :
ReflectionClass
= null ]
)
: mixed
DBから取り出した連想配列を, プロパティへ設定する際に使用します.
Parameters
- $arrProps : array
プロパティの情報を格納した連想配列
- $excludeAttribute : string[] = []
除外したいフィールド名の配列
- $parentClass : ReflectionClass = null
親のクラス. 本メソッドの内部的に使用します.
Return values
mixedtoArray()
Convert to associative array.
public
toArray(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
[, $parentClass :
ReflectionClass
= null ]
)
: array
Symfony Serializer Component is expensive, and hard to implementation. Use for encoder only.
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
- $parentClass : ReflectionClass = null
parent class. Use internally of this method..
Return values
arraytoNormalizedArray()
Convert to associative array, and normalize to association properties.
public
toNormalizedArray(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: array
The type conversion such as:
- Datetime :: W3C datetime format string
- AbstractEntity :: associative array such as [id => value]
- PersistentCollection :: associative array of [[id => value], [id => value], ...]
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
arraytoJSON()
Convert to JSON.
public
toJSON(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: string
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
stringtoXML()
Convert to XML.
public
toXML(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: string
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
stringcopyProperties()
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
public
copyProperties(
$srcObject :
object
[, $excludeAttribute :
string[]
= [] ]
)
: AbstractEntity
Parameters
- $srcObject : object
コピー元のオブジェクト
- $excludeAttribute : string[] = []
除外したいフィールド名の配列
Return values
AbstractEntitysetAnnotationReader()
Set AnnotationReader.
public
setAnnotationReader(
$Reader :
Reader
)
: AbstractEntity
Parameters
- $Reader : Reader
Return values
AbstractEntitygetAnnotationReader()
Get AnnotationReader.
public
getAnnotationReader(
)
: Reader
Return values
ReadergetEntityIdentifierAsArray()
Convert to Entity of Identity value to associative array.
public
getEntityIdentifierAsArray(
$Entity :
AbstractEntity
)
: array
Parameters
- $Entity : AbstractEntity
Return values
array —associative array of [[id => value], [id => value], ...]