@@ -227,21 +227,18 @@ def fetch_by_external_id(external_customer_id, params = {})
227227 #
228228 # **Note**: This functionality is currently only available for Stripe.
229229 #
230- # @overload sync_payment_methods_from_gateway(external_customer_id , request_options: {})
230+ # @overload sync_payment_methods_from_gateway(customer_id , request_options: {})
231231 #
232- # @param external_customer_id [String]
232+ # @param customer_id [String]
233233 # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
234234 #
235235 # @return [nil]
236236 #
237237 # @see Orb::Models::CustomerSyncPaymentMethodsFromGatewayParams
238- def sync_payment_methods_from_gateway ( external_customer_id , params = { } )
238+ def sync_payment_methods_from_gateway ( customer_id , params = { } )
239239 @client . request (
240240 method : :post ,
241- path : [
242- "customers/external_customer_id/%1$s/sync_payment_methods_from_gateway" ,
243- external_customer_id
244- ] ,
241+ path : [ "customers/%1$s/sync_payment_methods_from_gateway" , customer_id ] ,
245242 model : NilClass ,
246243 options : params [ :request_options ]
247244 )
@@ -254,18 +251,21 @@ def sync_payment_methods_from_gateway(external_customer_id, params = {})
254251 #
255252 # **Note**: This functionality is currently only available for Stripe.
256253 #
257- # @overload sync_payment_methods_from_gateway_by_external_customer_id(customer_id , request_options: {})
254+ # @overload sync_payment_methods_from_gateway_by_external_customer_id(external_customer_id , request_options: {})
258255 #
259- # @param customer_id [String]
256+ # @param external_customer_id [String]
260257 # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
261258 #
262259 # @return [nil]
263260 #
264261 # @see Orb::Models::CustomerSyncPaymentMethodsFromGatewayByExternalCustomerIDParams
265- def sync_payment_methods_from_gateway_by_external_customer_id ( customer_id , params = { } )
262+ def sync_payment_methods_from_gateway_by_external_customer_id ( external_customer_id , params = { } )
266263 @client . request (
267264 method : :post ,
268- path : [ "customers/%1$s/sync_payment_methods_from_gateway" , customer_id ] ,
265+ path : [
266+ "customers/external_customer_id/%1$s/sync_payment_methods_from_gateway" ,
267+ external_customer_id
268+ ] ,
269269 model : NilClass ,
270270 options : params [ :request_options ]
271271 )
0 commit comments