Source code for ingenico.connect.sdk.domain.payment.definitions.refund_mobile_method_specific_output
# -*- coding: utf-8 -*-
#
# This class was auto-generated from the API references found at
# https://epayments-api.developer-ingenico.com/
#
from ingenico.connect.sdk.domain.payment.definitions.refund_method_specific_output import RefundMethodSpecificOutput
[docs]
class RefundMobileMethodSpecificOutput(RefundMethodSpecificOutput):
__network = None
@property
def network(self):
"""
| The network that was used for the refund. The string that represents the network is identical to the strings that the payment product vendors use in their documentation.For instance: "Visa" for Google Pay <https://developer.apple.com/reference/passkit/pkpaymentnetwork>.
Type: str
"""
return self.__network
@network.setter
def network(self, value):
self.__network = value
[docs]
def to_dictionary(self):
dictionary = super(RefundMobileMethodSpecificOutput, self).to_dictionary()
if self.network is not None:
dictionary['network'] = self.network
return dictionary
[docs]
def from_dictionary(self, dictionary):
super(RefundMobileMethodSpecificOutput, self).from_dictionary(dictionary)
if 'network' in dictionary:
self.network = dictionary['network']
return self