The spv.vds.impl.IPPNovaAdaptor Class

spv.vds.impl.IPPNovaAdaptor
> spv.vds.impl.IPPAdaptor

spv.vds.impl.IPPNovaAdaptor(service_url)

service_url {string}

.getCampaigns(feed_id, on_success, on_failure)

feed_id {string}
on_success {function(spv.vds.CampaignCollection)}
on_failure {function(Error)}

.getConfigQuickInfo(session_id, config_name, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

session_id {string}
config_name {string}
on_success {function(spv.vds.ConfigQuickInfoResult)}
on_failure {function(Error)}

.getRetailers(on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

on_success {function(Array.<spv.vds.VolvoRetailer>)}
on_failure {function(Error)}

.getSpecification(config, localization_id, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

config {spv.ds.Config}
localization_id {string}
on_success {function(spv.vds.VolvoCarSpec)}
on_failure {function(Error)}

.sessionDisableCCPrices(session_id, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

Disables company car pricing.

session_id {string}
on_success {function()}
on_failure {function(Error)}

.sessionEnableCCPrices(session_id, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

Enables company car pricing.

session_id {string}
on_success {function()}
on_failure {function(Error)}

.sessionGetCampaigns(session_id, feed_id, on_success, on_failure)

session_id {string}
feed_id {string}
on_success {function(spv.vds.CampaignCollection)}
on_failure {function(Error)}

.sessionGetLoan(session_id, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

session_id {string}
on_success {function(spv.ds.Loan)}
on_failure {function(Error)}

.sessionResetLoan(session_id, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

session_id {string}
on_success {function(spv.ds.Loan)}
on_failure {function(Error)}

.sessionSendMailToCustomer(session_id, customer_email, want_newsletter, want_summary_pdf, mail_link_url, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

session_id {string}
customer_email {string}
want_newsletter {boolean}
want_summary_pdf {boolean}
mail_link_url {string}
on_success {function()}
on_failure {function(Error)}

.sessionSendMailToCustomerAndRetailer(session_id, customer_first_name, customer_surname, customer_email, customer_phone, preferred_contact_time, preferred_contact_media, want_newsletter, want_summary_pdf, retailer_id, mail_link_url, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

session_id {string}
customer_first_name {string}
customer_surname {string}
customer_email {string}
customer_phone {string}
preferred_contact_time {string}
preferred_contact_media {string}
want_newsletter {boolean}
want_summary_pdf {boolean}
retailer_id {string}
mail_link_url {string}
on_success {function()}
on_failure {function(Error)}

.sessionSetLoan(session_id, down_payment, interest_rate, number_of_months, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

session_id {string}
down_payment {number}
interest_rate {number}
number_of_months {number}
on_success {function(spv.ds.Loan)}
on_failure {function(Error)}

.sessionSetRetailerBusinessGroup(session_id, business_group_retailer_id, on_success, on_failure)

session_id {string}
business_group_retailer_id {string}
on_success {function()}
on_failure {function(Error)}

.sessionUpdateCCInputParams(session_id, input_params, on_success, on_failure)

Inherited from spv.vds.impl.IPPAdaptor .

Updates the parameters for Company Cars pricing.

session_id {string}
input_params {Object.<string,Object>}
on_success {function(Object.<string,spv.vds.CCInputParam>)}
on_failure {function(Error)}