|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Public Member Functions | |
| __get ($key) | |
| Getter that handles passthrough access to the data array, and lazy object creation. | |
| __isset ($key) | |
| __unset ($key) | |
| assertIsArray ($obj, $method) | |
| Verify if $obj is an array. | |
| count () | |
| current () | |
| getAcknowledged () | |
| getCustomer () | |
| getDeliveryDetails () | |
| getId () | |
| getKind () | |
| getLineItems () | |
| getMerchantId () | |
| getMerchantOrderId () | |
| getNetAmount () | |
| getPaymentMethod () | |
| getPaymentStatus () | |
| getPlacedDate () | |
| getRefunds () | |
| getShipments () | |
| getShippingCost () | |
| getShippingCostTax () | |
| getShippingOption () | |
| getStatus () | |
| key () | |
| next () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| rewind () | |
| setAcknowledged ($acknowledged) | |
| setCustomer (Google_Service_ShoppingContent_OrderCustomer $customer) | |
| setDeliveryDetails (Google_Service_ShoppingContent_OrderDeliveryDetails $deliveryDetails) | |
| setId ($id) | |
| setKind ($kind) | |
| setLineItems ($lineItems) | |
| setMerchantId ($merchantId) | |
| setMerchantOrderId ($merchantOrderId) | |
| setNetAmount (Google_Service_ShoppingContent_Price $netAmount) | |
| setPaymentMethod (Google_Service_ShoppingContent_OrderPaymentMethod $paymentMethod) | |
| setPaymentStatus ($paymentStatus) | |
| setPlacedDate ($placedDate) | |
| setRefunds ($refunds) | |
| setShipments ($shipments) | |
| setShippingCost (Google_Service_ShoppingContent_Price $shippingCost) | |
| setShippingCostTax (Google_Service_ShoppingContent_Price $shippingCostTax) | |
| setShippingOption ($shippingOption) | |
| setStatus ($status) | |
| toSimpleObject () | |
| Create a simplified object suitable for straightforward conversion to JSON. | |
| valid () | |
Public Attributes | |
| $acknowledged | |
| $id | |
| $kind | |
| $merchantId | |
| $merchantOrderId | |
| $paymentStatus | |
| $placedDate | |
| $shippingOption | |
| $status | |
| const | NULL_VALUE = "{}gapi-php-null" |
| If you need to specify a NULL JSON value, use Google_Model\NULL_VALUE instead - it will be replaced when converting to JSON with a real null. | |
Protected Member Functions | |
| dataType ($key) | |
| gapiInit () | |
| Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors. | |
| isAssociativeArray ($array) | |
| Returns true only if the array is associative. | |
| keyType ($key) | |
| mapTypes ($array) | |
| Initialize this object's properties from an array. | |
Protected Attributes | |
| $collection_key = 'shipments' | |
| $customerDataType = '' | |
| $customerType = 'Google_Service_ShoppingContent_OrderCustomer' | |
| $deliveryDetailsDataType = '' | |
| $deliveryDetailsType = 'Google_Service_ShoppingContent_OrderDeliveryDetails' | |
| $internal_gapi_mappings | |
| $lineItemsDataType = 'array' | |
| $lineItemsType = 'Google_Service_ShoppingContent_OrderLineItem' | |
| $modelData = array() | |
| $netAmountDataType = '' | |
| $netAmountType = 'Google_Service_ShoppingContent_Price' | |
| $paymentMethodDataType = '' | |
| $paymentMethodType = 'Google_Service_ShoppingContent_OrderPaymentMethod' | |
| $processed = array() | |
| $refundsDataType = 'array' | |
| $refundsType = 'Google_Service_ShoppingContent_OrderRefund' | |
| $shipmentsDataType = 'array' | |
| $shipmentsType = 'Google_Service_ShoppingContent_OrderShipment' | |
| $shippingCostDataType = '' | |
| $shippingCostTaxDataType = '' | |
| $shippingCostTaxType = 'Google_Service_ShoppingContent_Price' | |
| $shippingCostType = 'Google_Service_ShoppingContent_Price' | |
|
inherited |
Getter that handles passthrough access to the data array, and lazy object creation.
| string | $key | Property name. |
| mixed | The value if any, or null. |
|
inherited |
Verify if $obj is an array.
| Google_Exception | Thrown if $obj isn't an array. |
| array | $obj | Items that should be validated. |
| string | $method | Method expecting an array as an argument. |
|
protectedinherited |
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
Reimplemented in Google_Service_MapsEngine_GeoJsonGeometryCollection, Google_Service_MapsEngine_GeoJsonLineString, Google_Service_MapsEngine_GeoJsonMultiLineString, Google_Service_MapsEngine_GeoJsonMultiPoint, Google_Service_MapsEngine_GeoJsonMultiPolygon, Google_Service_MapsEngine_GeoJsonPoint, Google_Service_MapsEngine_GeoJsonPolygon, Google_Service_MapsEngine_MapFolder, Google_Service_MapsEngine_MapKmlLink, and Google_Service_MapsEngine_MapLayer.
|
protectedinherited |
Returns true only if the array is associative.
| array | $array |
| bool | True if the array is associative. |
|
protectedinherited |
Initialize this object's properties from an array.
| array | $array | Used to seed this object's properties. |
| void |
|
inherited |
Reimplemented from Google_Model.
|
inherited |
Reimplemented from Google_Model.
|
inherited |
Reimplemented from Google_Model.
|
inherited |
Reimplemented from Google_Model.
|
inherited |
Create a simplified object suitable for straightforward conversion to JSON.
This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
|
protected |