Source code for ingenico.connect.sdk.domain.hostedcheckout.definitions.mobile_payment_product302_specific_input_hosted_checkout

# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://epayments-api.developer-ingenico.com/
#
from ingenico.connect.sdk.data_object import DataObject


[docs]class MobilePaymentProduct302SpecificInputHostedCheckout(DataObject): __business_name = None @property def business_name(self): """ | Used as an input for the Apple Pay payment button. Your default business name is configured in the Configuration Center. In case you want to use another business name than the one configured in the Configuration Center, provide your company name in a human readable form. Type: str """ return self.__business_name @business_name.setter def business_name(self, value): self.__business_name = value
[docs] def to_dictionary(self): dictionary = super(MobilePaymentProduct302SpecificInputHostedCheckout, self).to_dictionary() if self.business_name is not None: dictionary['businessName'] = self.business_name return dictionary
[docs] def from_dictionary(self, dictionary): super(MobilePaymentProduct302SpecificInputHostedCheckout, self).from_dictionary(dictionary) if 'businessName' in dictionary: self.business_name = dictionary['businessName'] return self