Reading Time: 1 minute

Gets the commission of a field.


vcc.getCommission(field: string): number


The name of the field. If missing, it returns all fields’ commission.

Return values

The commission.


We want to display commission to the agent if the value is selected by the agent.

const commission = vcc.getCommission('amount');
vcc.setFieldValue('commission', commission);
vcc.getController('page', 'commission').refresh();

There are no comments yet.
Subscribe to our newsletter
or Contact us!
Please note that by subscribing to our newsletter, you agree to receive regular email messages from VCC Live® about service related news and updates. By subscribing to our newsletter, you also agree that VCC Live® will use your data in accordance with the applicable Privacy Policy until you unsubscribe from the newsletter.