BillingServiceBase constructor
BillingServiceBase()
Implementation
BillingServiceBase() {
$addMethod($grpc.ServiceMethod<$14.CreateLicenseRequest, $14.CreateLicenseResponse>(
'createLicense',
createLicense_Pre,
false,
false,
($core.List<$core.int> value) => $14.CreateLicenseRequest.fromBuffer(value),
($14.CreateLicenseResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $14.ReadLicensesResponse>(
'readLicenses',
readLicenses_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($14.ReadLicensesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $14.ReadBillingProductsResponse>(
'readBillingProducts',
readBillingProducts_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($14.ReadBillingProductsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.UpdateLicenseRequest, $1.StatusResponse>(
'updateLicense',
updateLicense_Pre,
false,
false,
($core.List<$core.int> value) => $14.UpdateLicenseRequest.fromBuffer(value),
($1.StatusResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.DeleteLicenseRequest, $1.StatusResponse>(
'deleteLicense',
deleteLicense_Pre,
false,
false,
($core.List<$core.int> value) => $14.DeleteLicenseRequest.fromBuffer(value),
($1.StatusResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.UpdatePaymentCustomerIdRequest, $1.StatusResponse>(
'updatePaymentCustomerId',
updatePaymentCustomerId_Pre,
false,
false,
($core.List<$core.int> value) => $14.UpdatePaymentCustomerIdRequest.fromBuffer(value),
($1.StatusResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $14.GetReferralInfoResponse>(
'getReferralInfo',
getReferralInfo_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($14.GetReferralInfoResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $14.RequestReferralPayoutResponse>(
'requestReferralPayout',
requestReferralPayout_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($14.RequestReferralPayoutResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.CreateCheckoutSessionRequest, $14.CreateCheckoutSessionResponse>(
'createCheckoutSession',
createCheckoutSession_Pre,
false,
false,
($core.List<$core.int> value) => $14.CreateCheckoutSessionRequest.fromBuffer(value),
($14.CreateCheckoutSessionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.FulfillLicenseFromStripeRequest, $14.CreateLicenseResponse>(
'fulfillLicenseFromStripe',
fulfillLicenseFromStripe_Pre,
false,
false,
($core.List<$core.int> value) => $14.FulfillLicenseFromStripeRequest.fromBuffer(value),
($14.CreateLicenseResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.FulfillFromStripeCheckoutSessionRequest, $14.CreateLicenseResponse>(
'fulfillFromStripeCheckoutSession',
fulfillFromStripeCheckoutSession_Pre,
false,
false,
($core.List<$core.int> value) => $14.FulfillFromStripeCheckoutSessionRequest.fromBuffer(value),
($14.CreateLicenseResponse value) => value.writeToBuffer()));
}