Line items being purchased in this transaction.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.TransactionData.Item
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getMerchantAccountId() Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions. Generated from protobuf field string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL];
|
| public getName() Optional. The full name of the item. Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public getQuantity() Optional. The quantity of this item that is being purchased. Generated from protobuf field int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL];
|
| public getValue() Optional. The value per item that the user is paying, in the transaction currency, after discounts. Generated from protobuf field double value = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| public setMerchantAccountId( $var) Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions. Generated from protobuf field string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL];
|
| public setName( $var) Optional. The full name of the item. Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public setQuantity( $var) Optional. The quantity of this item that is being purchased. Generated from protobuf field int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL];
|
| public setValue( $var) Optional. The value per item that the user is paying, in the transaction currency, after discounts. Generated from protobuf field double value = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| Properties |
| protected $merchant_account_id = '' Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions. Generated from protobuf field string merchant_account_id = 4 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $name = '' Optional. The full name of the item. Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $quantity = 0 Optional. The quantity of this item that is being purchased. Generated from protobuf field int64 quantity = 3 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $value = 0 Optional. The value per item that the user is paying, in the transaction currency, after discounts. Generated from protobuf field double value = 2 [(.google.api.field_behavior) = OPTIONAL]; |
| Methods |