コード例 #1
0
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, DepositDepositResponse)
     self.accounts = Accounts(Collection(self.client, DepositAccount))
コード例 #2
0
ファイル: msaorders.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
      Creates a client collection objects
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, MsaOrderResponse)
     self.unloads = MsaordersUnloadsCollection(Collection(self.client, MsaReturns))
コード例 #3
0
ファイル: gpaorder.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, GpaResponse)
     self.unloads = Unloads(Collection(self.client, GpaReturns))
コード例 #4
0
 def __init__(self, token, client):
     super(BusinessContext, self).__init__(client)
     self.token = token
     self.children = self.Children(self.token, Collection(client, CardHolderModel))
     self.notes = self.Notes(self.token, client, Collection(client,
                                                            CardholderNoteResponseModel))
     self.transitions = self.Transitions(self.token, Collection(client,
                                                                BusinessTransitionResponse))
コード例 #5
0
 def __init__(self, client):
     '''
     Creates a client collection objects
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, ProgramTransferResponse)
     self.types = Types(Collection(client, ProgramTransferTypeReponse))
コード例 #6
0
ファイル: cards.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections_card_response = Collection(self.client, CardResponse)
     self.collections_pan_response = Collection(self.client, PanResponse)
コード例 #7
0
ファイル: users.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object:
     '''
     self.client = client
     self.collections_cardmodel = Collection(self.client, CardHolderModel)
     self.collections_usermodel = Collection(self.client,
                                             UserCardHolderResponse)
コード例 #8
0
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, BusinessCardHolderModel)
     self.collections_business = Collection(self.client,
                                            BusinessCardHolderResponse)
     self.collections_update = Collection(self.client,
                                          BusinessCardHolderUpdateModel)
コード例 #9
0
    def __init__(self, token, client):

        super(CommandoModesContext, self).__init__(client)

        self.token = token
        self.transitions = self.Transitions(
            self.token, Collection(client, CommandoModeTransitionResponse))
コード例 #10
0
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections_disburse = Collection(self.client, PushToCardDisbursementResponse)
コード例 #11
0
 def __init__(self, client):
     '''
      Creates a client collection objects
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, VelocityControlResponse)
コード例 #12
0
 def __init__(self, client):
     '''
     Creates a client collection objects
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, AuthControlExemptMidsResponse)
コード例 #13
0
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, DigitalWalletToken)
コード例 #14
0
    def __init__(self, token, client):

        super(ChargebacksContext, self).__init__(client)

        self.token = token
        self.transitions = self.Transitions(
            self.token, Collection(client, ChargebackTransitionResponse))
コード例 #15
0
ファイル: balances.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
     Creates a client collection object
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, CardholderBalances)
コード例 #16
0
ファイル: feetransfers.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
     Creates a client collection objects
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, FeeTransferResponse)
コード例 #17
0
ファイル: stores.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
     Creates a client collection objects
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, StoreResponseModel)
コード例 #18
0
 def __init__(self, client):
     '''
     Creates a client collection object
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, CardProductResponse)
コード例 #19
0
    def __init__(self, token, client):

        super(DirectDepositsContext, self).__init__(client)

        self.token = token
        self.transitions = self.Transitions(self.token, Collection(client,
                                                                   DirectDepositTransitionResponse))
コード例 #20
0
 def __init__(self, client):
     '''
     Creates a client collection object
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, AcceptedCountriesModel)
コード例 #21
0
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, MerchantResponseModel)
コード例 #22
0
 def __init__(self, client):
     '''
     Creates a client collection object
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, AccountHolderGroupResponse)
コード例 #23
0
 def __init__(self, client):
     '''
     Creates a client collection object
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, RealTimeFeeGroup)
コード例 #24
0
 def __init__(self, client):
     '''
     Creates a client collection object
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, OfferOrderResponse)
コード例 #25
0
 def __init__(self, client):
     '''
     Creates a client collection object
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, BulkIssuanceResponse)
コード例 #26
0
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, ChargebackResponse)
コード例 #27
0
ファイル: autoreloads.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
     Creates a client collection object
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, AutoReloadResponseModel)
コード例 #28
0
ファイル: mccgroups.py プロジェクト: andyw8/marqeta-python
 def __init__(self, client):
     '''
     Creates a client collection objects
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, MccGroupModel)
コード例 #29
0
 def __init__(self, client):
     '''
     Creates a client collection objects
     :param client: client object
     '''
     self.client = client
     self.collections = Collection(self.client, AuthControlResponse)
     self.exempt_mids = AuthcontrolsExemptmidsCollection(self.client)
コード例 #30
0
 def __init__(self, client):
     '''
     Creates a client collection objects for different responses
     :param client: client object
     '''
     self.client = client
     self.collections_pushtocards = Collection(self.client, PushtocardsPaymentcardCollection)
     self.disburse = PushtocardsDisburseCollection(self.client)
     self.payment_card = PushtocardsPaymentcardCollection(self.client)