CreditCardConnectorSetup Class [AX 2012]
The CreditCardConnectorSetup class provides an X++-only interface to the Payment Services SDK Manager for connector setup.
| Method | Description | |
|---|---|---|
| addPropertiesToGroup | Adds controls to a group for the specified properties. |
| addPropertyToGroup | Adds a control to a group for the specified property. |
| addToGroup | Adds the properties of a connector to a newly created FormGroupControl control. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| clrBoolean2Boolean | |
| clrDecimal2Real | |
| clrInt2Int | |
| displayGroupByIndex | Makes only the specified group visible. |
| displayGroupByName | Makes only the specified group visible. |
| displayPropertyValue | Sets the value of a control for a given property. |
| displayPropertyValues | Sets the value of controls for a given connector. |
| displayPropertyValuesFromXmlString | Sets the value of controls for a given connector. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getCount | Determines the number of connectors. |
| getIndex | Finds the index of a connector. |
| getName | Returns the name of a connector. |
| getProperties | Returns the properties associated with a given connector. |
| getPropertiesAsXmlString | Returns the properties associated with a given connector. |
| getPropertiesByIndex | Returns the properties associated with a given connector. |
| getPropertiesByName | Returns the properties associated with a given connector. |
| getPropertyValue | Updates a property with the value from the specified control. |
| getPropertyValuesAsXmlString | Returns XML for the property values in the controls of the named connector. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| groupToPropertyArray | Returns an array of properties that have values from the controls of the specified group. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| init | Initializes the state of the object. |
| initConnector | Establishes the internal state of a connector. |
| new | Initializes a new instance of the CreditCardConnectorSetup class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| setParentControl | Sets the parent control for all connector groups. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validatePropertyValues | Checks the properties of a connector for correct values. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | |
| ::findPropertyByName | Locates a property by its namespace and name. |
The following rules apply to methods of this class:
-
All indices are 1-based.
-
A connector is known by its name.
Methods: getName(), getCount(), getIndex()
-
A connector has properties (metadata). A method that deals with metadata has "Property" or "Properties" in its name.
Methods: getPropertiesByName(), getPropertiesAsXmlString()
-
A method that deals with a collection of property values in the UI has "Group" in its name. Call setParentControl() before you use any of these methods.
Methods: displayGroupByName()
-
A connector property has a property value. A method that deals with property values has "PropertyValue" or PropertyValues in its name. Call setParentControl() before you use any of these methods.
Methods: displayPropertyValuesFromXmlString(), getPropertyValuesAsXmlString(), validatePropertyValues()
-
Names (connector names) are the primary mechanism for referring to a connector or groups of property values or properties.
-
There is a one-to-one correspondence between a connector and groups of property values or properties, and the same name is used in all cases.