MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / update_sign

Method update_sign

app/clients/bigmodel_client.py:102–127  ·  view source on GitHub ↗
(
        self,
        account: AccountRecord,
        session: AccountSessionState,
        *,
        pay_type: str,
        old_product_id: str,
        new_product_id: str,
        customer_id: str,
        agreement_no: str,
        biz_id: str,
    )

Source from the content-addressed store, hash-verified

100 def update_sign(
101 self,
102 account: AccountRecord,
103 session: AccountSessionState,
104 *,
105 pay_type: str,
106 old_product_id: str,
107 new_product_id: str,
108 customer_id: str,
109 agreement_no: str,
110 biz_id: str,
111 ) -> ApiCallResult:
112 return self._request(
113 account,
114 session,
115 "POST",
116 "/biz/pay/product/update/sign",
117 json_body={
118 "payType": pay_type,
119 "oldProductId": old_product_id,
120 "newProductId": new_product_id,
121 "customerId": customer_id,
122 "agreementNo": agreement_no,
123 "bizId": biz_id,
124 },
125 )
126
127 def check_payment(
128 self,
129 account: AccountRecord,
130 session: AccountSessionState,

Callers 1

_create_upgrade_signMethod · 0.80

Calls 1

_requestMethod · 0.95

Tested by

no test coverage detected